Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001405/0.001405, allocations: 113.5 kB / 16.42 MB, free: 6.469 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.001503/0.001504, allocations: 185.5 kB / 17.35 MB, free: 5.711 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.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7944/0.7944, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 61.84 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1362, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002618/0.1388, allocations: 1.529 MB / 0.6618 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1399, allocations: 0.5882 MB / 0.6624 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.14, allocations: 4 kB / 0.6624 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.1401, allocations: 3.938 kB / 0.6624 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.1402, allocations: 27.78 kB / 0.6624 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.1406, allocations: 83.77 kB / 0.6625 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1408, allocations: 103.6 kB / 0.6626 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1409, allocations: 28.19 kB / 0.6626 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.141, allocations: 47.83 kB / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.764e-05/0.1411, allocations: 51.83 kB / 0.6627 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.1411, allocations: 4 kB / 0.6627 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1413, allocations: 87.84 kB / 0.6628 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.1413, allocations: 19.92 kB / 0.6628 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.1414, allocations: 47.72 kB / 0.6629 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.1416, allocations: 135.5 kB / 0.663 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1417, allocations: 0 / 0.663 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1417, allocations: 0 / 0.663 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.1417, allocations: 0 / 0.663 GB, free: 7.5 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.0007491/0.1424, allocations: 460.6 kB / 0.6634 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1425, allocations: 12.03 kB / 0.6634 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.1425, allocations: 8.891 kB / 0.6635 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.1427, allocations: 192.2 kB / 0.6636 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1427, allocations: 8.359 kB / 0.6636 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1427, allocations: 12.36 kB / 0.6637 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.143, allocations: 97.94 kB / 0.6638 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1431, allocations: 7.938 kB / 0.6638 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1431, allocations: 0 / 0.6638 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.1431, allocations: 7.984 kB / 0.6638 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.1434, allocations: 95.8 kB / 0.6639 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.1441, allocations: 352.7 kB / 0.6642 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.1444, allocations: 86.52 kB / 0.6643 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.1446, allocations: 56.88 kB / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1446, allocations: 4 kB / 0.6643 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003222/0.1449, allocations: 115.3 kB / 0.6644 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.264e-06/0.1449, allocations: 0 / 0.6644 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006451/0.1456, allocations: 213.5 kB / 0.6647 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.1456, allocations: 55.41 kB / 0.6647 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1457, allocations: 135.9 kB / 0.6648 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1458, allocations: 33.7 kB / 0.6649 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.1458, allocations: 104 kB / 0.665 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1459, allocations: 23.81 kB / 0.665 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/0.1459, allocations: 25.7 kB / 0.665 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.146, allocations: 322.8 kB / 0.6653 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.1462, allocations: 59.95 kB / 0.6654 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.1464, allocations: 59.95 kB / 0.6654 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.1467, allocations: 144.7 kB / 0.6656 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1468, allocations: 0 / 0.6656 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004556/0.1472, allocations: 203.3 kB / 0.6658 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.1473, allocations: 33.7 kB / 0.6658 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1473, allocations: 0 / 0.6658 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1473, allocations: 0 / 0.6658 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.1474, allocations: 20.44 kB / 0.6658 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1474, allocations: 0 / 0.6658 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.1476, allocations: 23.88 kB / 0.6658 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.1476, allocations: 0 / 0.6658 GB, free: 4.34 MB / 0.4981 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 9.653e-05/0.1477, allocations: 145.6 kB / 0.666 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.1477, allocations: 7.953 kB / 0.666 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.1478, allocations: 12.72 kB / 0.666 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1478, allocations: 0 / 0.666 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1478, allocations: 3.984 kB / 0.666 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.1478, allocations: 85.06 kB / 0.6661 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.1479, allocations: 3.938 kB / 0.6661 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.148, allocations: 11.98 kB / 0.6661 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.1481, allocations: 15.98 kB / 0.6661 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005091/0.1486, allocations: 240.8 kB / 0.6663 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004625/0.1491, allocations: 334.6 kB / 0.6667 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001845/0.1492, allocations: 63.89 kB / 0.6667 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.292e-05/0.1493, allocations: 112.9 kB / 0.6668 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of Backend: time 4.21e-07/0.1493, allocations: 0 / 0.6668 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006067/0.1499, allocations: 229.7 kB / 0.6671 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0005079/0.1505, allocations: 0.6371 MB / 0.6677 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of Templates: time 0.004142/0.1546, allocations: 1.724 MB / 0.6694 GB, free: 0.6172 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)