Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001147/0.001147, allocations: 108.4 kB / 16.41 MB, free: 6.512 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.001169/0.001169, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7748/0.7748, allocations: 135.1 MB / 426.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 65.39 kB / 0.5862 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1538, allocations: 80.92 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002731/0.1565, allocations: 1.549 MB / 0.6668 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1577, allocations: 0.5842 MB / 0.6673 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.1578, allocations: 0 / 0.6673 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.1579, allocations: 7.875 kB / 0.6674 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.516e-05/0.158, allocations: 27.78 kB / 0.6674 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.1584, allocations: 91.77 kB / 0.6675 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.1586, allocations: 95.7 kB / 0.6676 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1587, allocations: 20.22 kB / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.1589, allocations: 47.83 kB / 0.6676 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.159, allocations: 43.83 kB / 0.6677 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.159, allocations: 8 kB / 0.6677 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.1592, allocations: 87.86 kB / 0.6678 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.1592, allocations: 23.91 kB / 0.6678 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.1593, allocations: 43.72 kB / 0.6678 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.1595, allocations: 139.5 kB / 0.668 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1596, allocations: 0 / 0.668 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1596, allocations: 4 kB / 0.668 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.1596, allocations: 0 / 0.668 GB, free: 3.016 MB / 0.4981 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.0008026/0.1604, allocations: 448.8 kB / 0.6684 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1604, allocations: 9.109 kB / 0.6684 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.1605, allocations: 12.83 kB / 0.6684 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.1607, allocations: 192.1 kB / 0.6686 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1607, allocations: 8.359 kB / 0.6686 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.1607, allocations: 4.375 kB / 0.6686 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.161, allocations: 109.9 kB / 0.6687 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.1611, allocations: 7.938 kB / 0.6687 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1611, allocations: 0 / 0.6687 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.1611, allocations: 4 kB / 0.6687 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.1614, allocations: 87.84 kB / 0.6688 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.1621, allocations: 348.6 kB / 0.6691 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.1624, allocations: 94.45 kB / 0.6692 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.1626, allocations: 60.88 kB / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.1626, allocations: 0 / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003457/0.163, allocations: 111.3 kB / 0.6694 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/0.163, allocations: 0 / 0.6694 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006413/0.1636, allocations: 213.4 kB / 0.6696 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.1637, allocations: 55.39 kB / 0.6696 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1638, allocations: 144.2 kB / 0.6698 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1638, allocations: 25.7 kB / 0.6698 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.1639, allocations: 104 kB / 0.6699 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.1639, allocations: 19.72 kB / 0.6699 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.164, allocations: 29.7 kB / 0.67 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1641, allocations: 330.8 kB / 0.6703 GB, free: 436 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.1643, allocations: 51.95 kB / 0.6703 GB, free: 384 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.1645, allocations: 59.89 kB / 0.6704 GB, free: 324 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.1648, allocations: 146.5 kB / 0.6705 GB, free: 168 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1648, allocations: 4 kB / 0.6705 GB, free: 164 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004542/0.1653, allocations: 199.2 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.1653, allocations: 31.27 kB / 0.6707 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1653, allocations: 0 / 0.6707 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1654, allocations: 4 kB / 0.6707 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1655, allocations: 23.91 kB / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1655, allocations: 4 kB / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.1657, allocations: 23.91 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.1657, allocations: 4 kB / 0.6708 GB, free: 15.86 MB / 0.5137 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 0.000102/0.1658, allocations: 121.8 kB / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.1658, allocations: 15.91 kB / 0.6709 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.1659, allocations: 12.7 kB / 0.6709 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1659, allocations: 0 / 0.6709 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1659, allocations: 0 / 0.6709 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.1659, allocations: 93 kB / 0.671 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.166, allocations: 7.938 kB / 0.671 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1661, allocations: 11.98 kB / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.1662, allocations: 15.98 kB / 0.6711 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005235/0.1667, allocations: 245.2 kB / 0.6713 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004621/0.1672, allocations: 334.5 kB / 0.6716 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001817/0.1674, allocations: 63.95 kB / 0.6717 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.157e-05/0.1675, allocations: 109.4 kB / 0.6718 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of Backend: time 4.81e-07/0.1675, allocations: 4 kB / 0.6718 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006213/0.1681, allocations: 221.7 kB / 0.672 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0006168/0.1687, allocations: 0.6528 MB / 0.6726 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.005361/0.1741, allocations: 1.71 MB / 0.6743 GB, free: 12.15 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)