Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 101.6 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.862/1.862, allocations: 292.3 MB / 0.5495 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.91 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2324, allocations: 114.5 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.00267/0.2351, allocations: 0.6616 MB / 0.7847 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.2366, allocations: 0.836 MB / 0.7855 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.2367, allocations: 0 / 0.7855 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.981e-05/0.2368, allocations: 7.938 kB / 0.7855 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.985e-05/0.2369, allocations: 7.922 kB / 0.7855 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.2371, allocations: 15.98 kB / 0.7855 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.2372, allocations: 31.92 kB / 0.7856 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.2374, allocations: 7.984 kB / 0.7856 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.987e-05/0.2374, allocations: 11.94 kB / 0.7856 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.502e-05/0.2375, allocations: 23.91 kB / 0.7856 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.2375, allocations: 0 / 0.7856 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.597e-05/0.2376, allocations: 8 kB / 0.7856 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.2377, allocations: 11.98 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.2378, allocations: 19.88 kB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.2379, allocations: 43.86 kB / 0.7857 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2379, allocations: 0 / 0.7857 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2379, allocations: 0 / 0.7857 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.2379, allocations: 0 / 0.7857 GB, free: 2.164 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005701/0.2385, allocations: 347.6 kB / 0.786 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.2386, allocations: 12.02 kB / 0.786 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.2386, allocations: 8.938 kB / 0.786 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.2388, allocations: 172.3 kB / 0.7862 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.2389, allocations: 384 / 0.7862 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.2389, allocations: 8.359 kB / 0.7862 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.2392, allocations: 58.23 kB / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2392, allocations: 192 / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.2392, allocations: 3.938 kB / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2392, allocations: 4 kB / 0.7863 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.2395, allocations: 51.89 kB / 0.7863 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.24, allocations: 276.8 kB / 0.7866 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.2402, allocations: 34.56 kB / 0.7866 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.2403, allocations: 40.77 kB / 0.7866 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.2404, allocations: 0 / 0.7866 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2404, allocations: 30.56 kB / 0.7867 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 4.087e-06/0.2404, allocations: 3.984 kB / 0.7867 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0005138/0.2409, allocations: 89.55 kB / 0.7868 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.2411, allocations: 55.53 kB / 0.7868 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.2412, allocations: 105.8 kB / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2412, allocations: 25.7 kB / 0.7869 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.2415, allocations: 91.98 kB / 0.787 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.2415, allocations: 3.984 kB / 0.787 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.2416, allocations: 13.72 kB / 0.7871 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0003116/0.2419, allocations: 322.8 kB / 0.7874 GB, free: 228 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.242, allocations: 23.84 kB / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.2422, allocations: 23.98 kB / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.2424, allocations: 41.06 kB / 0.7874 GB, free: 136 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2424, allocations: 0 / 0.7874 GB, free: 136 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003505/0.2428, allocations: 77.56 kB / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.2428, allocations: 10.59 kB / 0.7875 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2429, allocations: 0 / 0.7875 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2429, allocations: 4 kB / 0.7875 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.243, allocations: 7.984 kB / 0.7875 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.2431, allocations: 3.984 kB / 0.7875 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.2432, allocations: 7.938 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.2432, allocations: 0 / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3346/0.5778, allocations: 115.2 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.5779, allocations: 5.281 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.5779, allocations: 4.625 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5779, allocations: 3.094 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5779, allocations: 0 / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.578, allocations: 0 / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.5781, allocations: 171.5 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5781, allocations: 1.531 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.5783, allocations: 9.047 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5783, allocations: 1.594 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.5783, allocations: 0 / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.5783, allocations: 1.031 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5783, allocations: 1.078 kB / 0.7879 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.5786, allocations: 167 kB / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.5786, allocations: 84.2 kB / 0.7881 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.5786, allocations: 3.688 kB / 0.7881 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.5787, allocations: 10.31 kB / 0.7881 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.5788, allocations: 10.17 kB / 0.7881 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.5788, allocations: 0.6562 kB / 0.7881 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.801e-05/0.5788, allocations: 86.16 kB / 0.7882 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5788, allocations: 0 / 0.7882 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003148/0.5791, allocations: 3.938 kB / 0.7882 GB, free: 48.01 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.031e-05/0.5792, allocations: 101.7 kB / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.5795, allocations: 38.08 kB / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5795, allocations: 4.031 kB / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.5796, allocations: 28.94 kB / 0.7884 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.5798, allocations: 9.594 kB / 0.7884 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.5801, allocations: 140.8 kB / 0.7885 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.5803, allocations: 0.6772 MB / 0.7892 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.5803, allocations: 10.22 kB / 0.7892 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of SimCode: time 8.32e-07/0.5803, allocations: 1.094 kB / 0.7892 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.001955/0.5823, allocations: 0.6702 MB / 0.7898 GB, free: 47.1 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)