Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") translateModel(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2915/0.2915, allocations: 54.33 MB / 66.89 MB, free: 6.094 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001381/0.001382, allocations: 188.2 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.791/1.791, allocations: 194.2 MB / 288.6 MB, free: 15.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001729/0.001729, allocations: 115.9 kB / 346.9 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.967e-05, allocations: 4 kB / 412.4 MB, free: 21.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1317, allocations: 57.64 MB / 470 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4188/0.5505, allocations: 86.71 MB / 0.5437 GB, free: 3.766 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.5508, allocations: 71.95 kB / 0.5437 GB, free: 3.695 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005758/0.5566, allocations: 1.863 MB / 0.5456 GB, free: 1.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5566, allocations: 0 / 0.5456 GB, free: 1.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.5566, allocations: 1.969 kB / 0.5456 GB, free: 1.84 MB / 378.7 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.0006698/0.5573, allocations: 470.2 kB / 0.546 GB, free: 1.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.5574, allocations: 8.031 kB / 0.546 GB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.5574, allocations: 11.91 kB / 0.546 GB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.5577, allocations: 206.8 kB / 0.5462 GB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.5578, allocations: 11.95 kB / 0.5462 GB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.5578, allocations: 4 kB / 0.5462 GB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.558, allocations: 113.5 kB / 0.5464 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.558, allocations: 3.984 kB / 0.5464 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.5581, allocations: 4 kB / 0.5464 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.5581, allocations: 4 kB / 0.5464 GB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.5582, allocations: 55.98 kB / 0.5464 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.5589, allocations: 368.6 kB / 0.5468 GB, free: 464 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.5591, allocations: 90.55 kB / 0.5469 GB, free: 364 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.5592, allocations: 72.91 kB / 0.5469 GB, free: 288 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.5593, allocations: 0 / 0.5469 GB, free: 288 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.5595, allocations: 119.3 kB / 0.547 GB, free: 156 kB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 4.238e-06/0.5595, allocations: 96 / 0.547 GB, free: 156 kB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004196/0.5599, allocations: 187.2 kB / 0.5472 GB, free: 15.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/0.56, allocations: 89.09 kB / 0.5473 GB, free: 15.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.5601, allocations: 124.9 kB / 0.5474 GB, free: 15.72 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.5602, allocations: 33.7 kB / 0.5475 GB, free: 15.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.5602, allocations: 100 kB / 0.5476 GB, free: 15.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.5603, allocations: 35.55 kB / 0.5476 GB, free: 15.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/0.5603, allocations: 0 / 0.5476 GB, free: 15.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5604, allocations: 326.8 kB / 0.5479 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.5605, allocations: 55.92 kB / 0.548 GB, free: 15.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.541e-05/0.5606, allocations: 51.98 kB / 0.548 GB, free: 15.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.5608, allocations: 115.4 kB / 0.5481 GB, free: 14.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5608, allocations: 3.938 kB / 0.5481 GB, free: 14.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003385/0.5612, allocations: 233.1 kB / 0.5483 GB, free: 14.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.5612, allocations: 71.39 kB / 0.5484 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.5612, allocations: 4 kB / 0.5484 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5613, allocations: 192 / 0.5484 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.5614, allocations: 23.92 kB / 0.5484 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.5615, allocations: 7.938 kB / 0.5484 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.5617, allocations: 35.89 kB / 0.5485 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.5617, allocations: 11.95 kB / 0.5485 GB, free: 14.57 MB / 394.7 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.5618, allocations: 151.4 kB / 0.5486 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.5619, allocations: 11.81 kB / 0.5486 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.5619, allocations: 16.61 kB / 0.5487 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5619, allocations: 0 / 0.5487 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5619, allocations: 0 / 0.5487 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5619, allocations: 0 / 0.5487 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.5621, allocations: 205.5 kB / 0.5489 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5621, allocations: 0 / 0.5489 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.5623, allocations: 23.98 kB / 0.5489 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5623, allocations: 0 / 0.5489 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.5623, allocations: 11.98 kB / 0.5489 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5623, allocations: 0 / 0.5489 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5623, allocations: 0 / 0.5489 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.5627, allocations: 246.5 kB / 0.5491 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.5627, allocations: 85.02 kB / 0.5492 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.5628, allocations: 4 kB / 0.5492 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.5629, allocations: 35.95 kB / 0.5492 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.5631, allocations: 27.91 kB / 0.5493 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.5631, allocations: 7.984 kB / 0.5493 GB, free: 13.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.991e-05/0.5632, allocations: 104 kB / 0.5494 GB, free: 13.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5632, allocations: 0 / 0.5494 GB, free: 13.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.5634, allocations: 35.91 kB / 0.5494 GB, free: 13.52 MB / 394.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001371/0.5635, allocations: 99.19 kB / 0.5495 GB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003864/0.5639, allocations: 290.7 kB / 0.5498 GB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5639, allocations: 0 / 0.5498 GB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.5641, allocations: 167.3 kB / 0.5499 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.5643, allocations: 16.59 kB / 0.55 GB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004978/0.5648, allocations: 218 kB / 0.5502 GB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.5651, allocations: 0.7043 MB / 0.5509 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.43e-05/0.5652, allocations: 19.61 kB / 0.5509 GB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.5653, allocations: 11.44 kB / 0.5509 GB, free: 11.91 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5653, allocations: 0 / 0.5509 GB, free: 11.91 MB / 394.7 MB Notification: Performance of Templates: time 0.004146/0.5694, allocations: 1.49 MB / 0.5523 GB, free: 10.43 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)