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.001346/0.001345, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009404/0.009404, allocations: 172 kB / 16.27 MB, free: 6.66 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.648/1.648, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.6427/0.6427, allocations: 95.63 MB / 366.4 MB, free: 10.23 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.0005514/0.0005514, allocations: 15.98 kB / 447.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3302, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001407/0.3317, allocations: 1.27 MB / 0.5069 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007351/0.3324, allocations: 0.5112 MB / 0.5074 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.3325, allocations: 3.938 kB / 0.5074 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.983e-05/0.3326, allocations: 7.922 kB / 0.5074 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.3327, allocations: 11.88 kB / 0.5074 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.3329, allocations: 39.94 kB / 0.5075 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.333, allocations: 103.6 kB / 0.5076 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3331, allocations: 24.22 kB / 0.5076 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.3333, allocations: 43.89 kB / 0.5076 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.757e-05/0.3334, allocations: 47.75 kB / 0.5077 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.3334, allocations: 4 kB / 0.5077 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.875e-05/0.3334, allocations: 4 kB / 0.5077 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.3335, allocations: 23.86 kB / 0.5077 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.204e-05/0.3336, allocations: 69.48 kB / 0.5078 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.3337, allocations: 85.64 kB / 0.5078 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3337, allocations: 0 / 0.5078 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3337, allocations: 0 / 0.5078 GB, free: 14.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3337, allocations: 4 kB / 0.5079 GB, free: 14.07 MB / 382.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.0007461/0.3345, allocations: 478.5 kB / 0.5083 GB, free: 13.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3345, allocations: 11.98 kB / 0.5083 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.3346, allocations: 12.75 kB / 0.5083 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.3348, allocations: 196.1 kB / 0.5085 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.3348, allocations: 4.375 kB / 0.5085 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.3348, allocations: 8.375 kB / 0.5085 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.3352, allocations: 149.8 kB / 0.5087 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3352, allocations: 0 / 0.5087 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.3352, allocations: 4 kB / 0.5087 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3352, allocations: 0 / 0.5087 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.3356, allocations: 135.9 kB / 0.5088 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.3361, allocations: 372.6 kB / 0.5092 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.3365, allocations: 150.4 kB / 0.5093 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.3367, allocations: 112.9 kB / 0.5094 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.3367, allocations: 0 / 0.5094 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.337, allocations: 159.3 kB / 0.5096 GB, free: 12.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.337, allocations: 0 / 0.5096 GB, free: 12.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007299/0.3378, allocations: 359.1 kB / 0.5099 GB, free: 11.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.3378, allocations: 89.11 kB / 0.51 GB, free: 11.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.3379, allocations: 140.6 kB / 0.5101 GB, free: 11.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.3379, allocations: 33.7 kB / 0.5102 GB, free: 11.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.338, allocations: 100 kB / 0.5103 GB, free: 11.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.338, allocations: 27.56 kB / 0.5103 GB, free: 11.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.3381, allocations: 21.7 kB / 0.5103 GB, free: 11.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.279e-05/0.3381, allocations: 326.7 kB / 0.5106 GB, free: 11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.3383, allocations: 99.92 kB / 0.5107 GB, free: 10.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.3385, allocations: 91.94 kB / 0.5108 GB, free: 10.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.339, allocations: 281.8 kB / 0.5111 GB, free: 10.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.339, allocations: 7.938 kB / 0.5111 GB, free: 10.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004818/0.3395, allocations: 304.8 kB / 0.5114 GB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.3395, allocations: 75.39 kB / 0.5114 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3395, allocations: 4 kB / 0.5114 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3395, allocations: 0 / 0.5114 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.3397, allocations: 19.98 kB / 0.5115 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3397, allocations: 0 / 0.5115 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.3399, allocations: 47.8 kB / 0.5115 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.3399, allocations: 4 kB / 0.5115 GB, free: 10.04 MB / 382.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 9.434e-05/0.34, allocations: 167.5 kB / 0.5117 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.34, allocations: 11.91 kB / 0.5117 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.3401, allocations: 8.719 kB / 0.5117 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3401, allocations: 4 kB / 0.5117 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3401, allocations: 0 / 0.5117 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3401, allocations: 0 / 0.5117 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.3402, allocations: 209.5 kB / 0.5119 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3402, allocations: 4 kB / 0.5119 GB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.3403, allocations: 27.91 kB / 0.5119 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3404, allocations: 480 / 0.5119 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3404, allocations: 0 / 0.5119 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3404, allocations: 0 / 0.5119 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3404, allocations: 4 kB / 0.5119 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005081/0.3409, allocations: 322.5 kB / 0.5122 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.3409, allocations: 96.91 kB / 0.5123 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.341, allocations: 8 kB / 0.5123 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.3411, allocations: 35.89 kB / 0.5124 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/0.3413, allocations: 19.97 kB / 0.5124 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.3413, allocations: 7.984 kB / 0.5124 GB, free: 9.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.997e-05/0.3413, allocations: 103.3 kB / 0.5125 GB, free: 8.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.133e-06/0.3413, allocations: 0 / 0.5125 GB, free: 8.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002096/0.3416, allocations: 39.88 kB / 0.5125 GB, free: 8.879 MB / 382.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 9.197e-05/0.3417, allocations: 95.25 kB / 0.5126 GB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005935/0.3423, allocations: 366.6 kB / 0.513 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3423, allocations: 4 kB / 0.513 GB, free: 8.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.3425, allocations: 199.3 kB / 0.5132 GB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.3428, allocations: 16 kB / 0.5132 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.3434, allocations: 331.4 kB / 0.5135 GB, free: 7.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.3436, allocations: 0.7081 MB / 0.5142 GB, free: 7.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.383e-05/0.3436, allocations: 15.97 kB / 0.5142 GB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.3437, allocations: 11.44 kB / 0.5142 GB, free: 7.051 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3437, allocations: 0 / 0.5142 GB, free: 7.051 MB / 382.1 MB Notification: Performance of Templates: time 0.003747/0.3474, allocations: 1.523 MB / 0.5157 GB, free: 5.539 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: