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.001276/0.001276, allocations: 114.2 kB / 16.42 MB, free: 6.508 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.001277/0.001277, allocations: 183.9 kB / 17.35 MB, free: 5.754 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.332/1.332, 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/package.mo): time 0.8796/0.8796, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 70.58 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1319, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002362/0.1343, allocations: 1.529 MB / 0.6618 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009465/0.1353, allocations: 0.5921 MB / 0.6624 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.1354, allocations: 3.938 kB / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.623e-05/0.1355, allocations: 3.938 kB / 0.6624 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.1355, allocations: 23.78 kB / 0.6624 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1359, allocations: 83.77 kB / 0.6625 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.1361, allocations: 103.7 kB / 0.6626 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1362, allocations: 24.2 kB / 0.6626 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1363, allocations: 47.77 kB / 0.6627 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.527e-05/0.1364, allocations: 47.83 kB / 0.6627 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1364, allocations: 8 kB / 0.6627 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1366, allocations: 87.91 kB / 0.6628 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.1366, allocations: 19.92 kB / 0.6628 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.1367, allocations: 43.72 kB / 0.6629 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.1369, allocations: 139.4 kB / 0.663 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1369, allocations: 0 / 0.663 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1369, allocations: 4 kB / 0.663 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1369, allocations: 0 / 0.663 GB, free: 7.531 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.0007851/0.1377, allocations: 460.6 kB / 0.6634 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1378, allocations: 8.031 kB / 0.6634 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.1378, allocations: 8.891 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.138, allocations: 188.2 kB / 0.6636 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.138, allocations: 16.3 kB / 0.6636 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.1381, allocations: 12.3 kB / 0.6637 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.1384, allocations: 101.9 kB / 0.6638 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1384, allocations: 4 kB / 0.6638 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1384, allocations: 4 kB / 0.6638 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.1384, allocations: 7.984 kB / 0.6638 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.1388, allocations: 83.92 kB / 0.6638 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.1394, allocations: 352.6 kB / 0.6642 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.1398, allocations: 94.52 kB / 0.6643 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.14, allocations: 56.88 kB / 0.6643 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.14, allocations: 0 / 0.6643 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/0.1403, allocations: 115.3 kB / 0.6644 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.1404, allocations: 0 / 0.6644 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.00068/0.141, allocations: 209.6 kB / 0.6646 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.1411, allocations: 55.34 kB / 0.6647 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1412, allocations: 143.9 kB / 0.6648 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1412, allocations: 29.7 kB / 0.6649 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.1413, allocations: 104 kB / 0.665 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.1413, allocations: 23.81 kB / 0.665 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.1414, allocations: 29.7 kB / 0.665 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1415, allocations: 322.8 kB / 0.6653 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.1417, allocations: 55.95 kB / 0.6654 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.1419, allocations: 59.95 kB / 0.6654 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.1423, allocations: 142.5 kB / 0.6656 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1423, allocations: 0 / 0.6656 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004718/0.1428, allocations: 205.8 kB / 0.6658 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.1428, allocations: 33.7 kB / 0.6658 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1428, allocations: 0 / 0.6658 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1428, allocations: 0 / 0.6658 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.143, allocations: 20.06 kB / 0.6658 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.143, allocations: 7.938 kB / 0.6658 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.1431, allocations: 23.88 kB / 0.6658 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.1432, allocations: 7.984 kB / 0.6658 GB, free: 4.359 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 0.0001003/0.1433, allocations: 125.8 kB / 0.666 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.1433, allocations: 7.953 kB / 0.666 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.1433, allocations: 16.66 kB / 0.666 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1434, allocations: 3.984 kB / 0.666 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1434, allocations: 3.984 kB / 0.666 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.1434, allocations: 85.06 kB / 0.6661 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1434, allocations: 7.938 kB / 0.6661 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.1436, allocations: 11.98 kB / 0.6661 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.1436, allocations: 19.98 kB / 0.6661 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000573/0.1442, allocations: 236.8 kB / 0.6663 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004899/0.1447, allocations: 334.6 kB / 0.6667 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001925/0.1449, allocations: 59.95 kB / 0.6667 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.094e-05/0.145, allocations: 112.9 kB / 0.6668 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of Backend: time 3.2e-07/0.145, allocations: 0 / 0.6668 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006568/0.1457, allocations: 235.9 kB / 0.6671 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0006026/0.1463, allocations: 0.6371 MB / 0.6677 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of Templates: time 0.004506/0.1508, allocations: 1.722 MB / 0.6694 GB, free: 0.6484 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)