Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.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.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 107.4 kB / 16.38 MB, free: 6.004 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.001374/0.001373, allocations: 194.9 kB / 17.31 MB, free: 5.621 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.497/1.497, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.853/1.853, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001614/0.001614, allocations: 71.89 kB / 0.6729 GB, free: 5.922 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2204, allocations: 114.6 MB / 0.7848 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003172/0.2237, allocations: 1.55 MB / 0.7863 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.2249, allocations: 0.6203 MB / 0.7869 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.522e-05/0.225, allocations: 3.938 kB / 0.7869 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.2251, allocations: 7.922 kB / 0.7869 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.436e-05/0.2252, allocations: 19.8 kB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.2256, allocations: 91.77 kB / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.2258, allocations: 103.6 kB / 0.7871 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.2259, allocations: 16.23 kB / 0.7871 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.2261, allocations: 51.77 kB / 0.7872 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.337e-05/0.2262, allocations: 47.83 kB / 0.7872 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.2262, allocations: 4 kB / 0.7872 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.2263, allocations: 83.91 kB / 0.7873 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.2264, allocations: 27.91 kB / 0.7874 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.2265, allocations: 35.8 kB / 0.7874 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.2267, allocations: 139.5 kB / 0.7875 GB, free: 440 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.2267, allocations: 0 / 0.7875 GB, free: 440 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.001e-06/0.2267, allocations: 0 / 0.7875 GB, free: 440 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2267, allocations: 0 / 0.7875 GB, free: 440 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.3455/0.5722, allocations: 462.9 kB / 0.788 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5723, allocations: 9.312 kB / 0.788 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.5724, allocations: 10.12 kB / 0.788 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.5725, allocations: 189.7 kB / 0.7882 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.5725, allocations: 6.219 kB / 0.7882 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.5726, allocations: 6.984 kB / 0.7882 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.5729, allocations: 103.7 kB / 0.7883 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.5729, allocations: 1.312 kB / 0.7883 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.5729, allocations: 7.875 kB / 0.7883 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.5729, allocations: 7.047 kB / 0.7883 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.5732, allocations: 90.25 kB / 0.7884 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.5738, allocations: 345.4 kB / 0.7887 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.574, allocations: 93.94 kB / 0.7888 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.5742, allocations: 58.59 kB / 0.7888 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.5742, allocations: 5.875 kB / 0.7889 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.5745, allocations: 112.5 kB / 0.789 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.5745, allocations: 4.594 kB / 0.789 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005772/0.5751, allocations: 208.1 kB / 0.7892 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.5751, allocations: 56.5 kB / 0.7892 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.978e-05/0.5752, allocations: 142.2 kB / 0.7894 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.5753, allocations: 28.48 kB / 0.7894 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.5753, allocations: 97.09 kB / 0.7895 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.5753, allocations: 29.19 kB / 0.7895 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.5754, allocations: 27.03 kB / 0.7895 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.5754, allocations: 327.8 kB / 0.7898 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.5756, allocations: 62.39 kB / 0.7899 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.5758, allocations: 57.36 kB / 0.79 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.5761, allocations: 137.5 kB / 0.7901 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5761, allocations: 5.938 kB / 0.7901 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000397/0.5765, allocations: 202.4 kB / 0.7903 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.5765, allocations: 33.86 kB / 0.7903 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5766, allocations: 0 / 0.7903 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5766, allocations: 6.641 kB / 0.7903 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.5767, allocations: 19.09 kB / 0.7903 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.5767, allocations: 1.375 kB / 0.7903 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.5769, allocations: 21.8 kB / 0.7904 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.5769, allocations: 3.844 kB / 0.7904 GB, free: 47.63 MB / 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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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 6.408e-05/0.5769, allocations: 127.6 kB / 0.7905 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.577, allocations: 7.656 kB / 0.7905 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.577, allocations: 13.25 kB / 0.7905 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.577, allocations: 0 / 0.7905 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.577, allocations: 4.875 kB / 0.7905 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.577, allocations: 84.41 kB / 0.7906 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.5771, allocations: 6.188 kB / 0.7906 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.5772, allocations: 19.56 kB / 0.7906 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.5773, allocations: 13.73 kB / 0.7906 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004641/0.5777, allocations: 247.2 kB / 0.7909 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003877/0.5781, allocations: 327.2 kB / 0.7912 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001676/0.5783, allocations: 61.28 kB / 0.7912 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.5784, allocations: 109.8 kB / 0.7913 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of Backend: time 5.51e-07/0.5784, allocations: 0.9062 kB / 0.7913 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005896/0.579, allocations: 230.2 kB / 0.7916 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004872/0.5795, allocations: 0.6419 MB / 0.7922 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.003866/0.5833, allocations: 1.707 MB / 0.7939 GB, free: 46.25 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)