Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.006185/0.006185, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001188/0.001188, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.536/1.536, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6105/0.6105, allocations: 95.49 MB / 365.4 MB, free: 9.777 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 71.91 kB / 0.5036 GB, free: 13.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1358, allocations: 69.09 MB / 0.5711 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002484/0.1384, allocations: 1.543 MB / 0.5726 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000817/0.1392, allocations: 0.5114 MB / 0.5731 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.1393, allocations: 3.938 kB / 0.5731 GB, free: 6.266 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.1394, allocations: 7.938 kB / 0.5731 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.224e-05/0.1394, allocations: 15.8 kB / 0.5731 GB, free: 6.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.1397, allocations: 43.88 kB / 0.5731 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1399, allocations: 119.6 kB / 0.5732 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.14, allocations: 28.09 kB / 0.5733 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.1401, allocations: 55.88 kB / 0.5733 GB, free: 6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1403, allocations: 55.77 kB / 0.5734 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.1403, allocations: 8 kB / 0.5734 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.027e-05/0.1403, allocations: 8 kB / 0.5734 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.1404, allocations: 19.86 kB / 0.5734 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.606e-05/0.1405, allocations: 55.77 kB / 0.5735 GB, free: 5.855 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1406, allocations: 95.69 kB / 0.5736 GB, free: 5.762 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1406, allocations: 0 / 0.5736 GB, free: 5.762 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1406, allocations: 0 / 0.5736 GB, free: 5.762 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.1406, allocations: 0 / 0.5736 GB, free: 5.762 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000824/0.1415, allocations: 482.4 kB / 0.574 GB, free: 5.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1415, allocations: 11.98 kB / 0.574 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.1416, allocations: 16.75 kB / 0.574 GB, free: 5.203 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.1418, allocations: 196.2 kB / 0.5742 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1418, allocations: 384 / 0.5742 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.1418, allocations: 12.31 kB / 0.5742 GB, free: 4.961 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.1421, allocations: 137.9 kB / 0.5744 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1422, allocations: 4 kB / 0.5744 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.1422, allocations: 0 / 0.5744 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1422, allocations: 0 / 0.5744 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.1425, allocations: 115.9 kB / 0.5745 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.1431, allocations: 356.5 kB / 0.5748 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.1435, allocations: 134.5 kB / 0.575 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.1437, allocations: 100.9 kB / 0.5751 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1437, allocations: 7.984 kB / 0.5751 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003637/0.1441, allocations: 147.3 kB / 0.5752 GB, free: 3.898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.1441, allocations: 0 / 0.5752 GB, free: 3.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007592/0.1448, allocations: 319.4 kB / 0.5755 GB, free: 3.574 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.1449, allocations: 101 kB / 0.5756 GB, free: 3.457 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.145, allocations: 144.8 kB / 0.5757 GB, free: 3.309 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1451, allocations: 25.7 kB / 0.5758 GB, free: 3.277 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.1451, allocations: 100 kB / 0.5759 GB, free: 3.176 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.1452, allocations: 27.56 kB / 0.5759 GB, free: 3.148 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.1452, allocations: 33.7 kB / 0.5759 GB, free: 3.109 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1454, allocations: 326.8 kB / 0.5762 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.1456, allocations: 87.88 kB / 0.5763 GB, free: 2.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.1458, allocations: 87.92 kB / 0.5764 GB, free: 2.609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.1462, allocations: 261.8 kB / 0.5766 GB, free: 2.332 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1462, allocations: 0 / 0.5766 GB, free: 2.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005236/0.1468, allocations: 295.3 kB / 0.5769 GB, free: 2.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/0.1468, allocations: 71.39 kB / 0.577 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1468, allocations: 3.984 kB / 0.577 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1468, allocations: 0 / 0.577 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.147, allocations: 15.98 kB / 0.577 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.147, allocations: 0 / 0.577 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.1472, allocations: 39.86 kB / 0.5771 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1472, allocations: 4 kB / 0.5771 GB, free: 1.883 MB / 446.1 MB 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: 0 * Algorithm blocks: 2 * 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.0001296/0.1474, allocations: 167.4 kB / 0.5772 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.1474, allocations: 11.91 kB / 0.5772 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.1474, allocations: 16.64 kB / 0.5772 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1474, allocations: 4 kB / 0.5773 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.1475, allocations: 0 / 0.5773 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1475, allocations: 0 / 0.5773 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.1477, allocations: 213.5 kB / 0.5775 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1477, allocations: 0 / 0.5775 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1478, allocations: 15.98 kB / 0.5775 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1478, allocations: 4 kB / 0.5775 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1478, allocations: 3.984 kB / 0.5775 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1478, allocations: 0 / 0.5775 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1478, allocations: 0 / 0.5775 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005544/0.1484, allocations: 318.5 kB / 0.5778 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.1484, allocations: 81.02 kB / 0.5779 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.1485, allocations: 4 kB / 0.5779 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.1486, allocations: 27.95 kB / 0.5779 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.1487, allocations: 23.95 kB / 0.5779 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.1488, allocations: 11.94 kB / 0.5779 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.832e-05/0.1488, allocations: 107.2 kB / 0.578 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1488, allocations: 0 / 0.578 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.1491, allocations: 31.94 kB / 0.5781 GB, free: 0.7461 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 0.0001055/0.1492, allocations: 99.25 kB / 0.5782 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006193/0.1498, allocations: 346.7 kB / 0.5785 GB, free: 284 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1498, allocations: 0 / 0.5785 GB, free: 284 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.1501, allocations: 199.3 kB / 0.5787 GB, free: 72 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.1503, allocations: 11.98 kB / 0.5787 GB, free: 60 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007188/0.1511, allocations: 300.1 kB / 0.579 GB, free: 15.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1514, allocations: 0.7002 MB / 0.5797 GB, free: 15.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.825e-05/0.1515, allocations: 15.98 kB / 0.5797 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.1516, allocations: 15.42 kB / 0.5797 GB, free: 14.98 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.1516, allocations: 0 / 0.5797 GB, free: 14.98 MB / 462.1 MB Notification: Performance of Templates: time 0.005122/0.1567, allocations: 1.79 MB / 0.5814 GB, free: 13.2 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)