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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008486/0.008486, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8525/0.8525, allocations: 135.2 MB / 151.1 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.763/1.763, allocations: 223.2 MB / 406.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009812/0.0009809, allocations: 98.88 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004603, allocations: 11.94 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5571/0.5575, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.7376, allocations: 112.9 MB / 0.7597 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.7379, allocations: 71.95 kB / 0.7598 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01087/0.7488, allocations: 3.551 MB / 0.7633 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.697e-06/0.7489, allocations: 0 / 0.7633 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.7489, allocations: 0 / 0.7633 GB, free: 15.43 MB / 0.5417 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.0008014/0.7497, allocations: 460.5 kB / 0.7637 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.7498, allocations: 8.031 kB / 0.7637 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.86e-05/0.7498, allocations: 11.91 kB / 0.7637 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.7501, allocations: 197 kB / 0.7639 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.7502, allocations: 7.984 kB / 0.7639 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.7502, allocations: 8 kB / 0.7639 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.7506, allocations: 109.5 kB / 0.764 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.7506, allocations: 0 / 0.764 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.7506, allocations: 4 kB / 0.764 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.7506, allocations: 0 / 0.764 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003849/0.751, allocations: 107.9 kB / 0.7641 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007841/0.7518, allocations: 372.6 kB / 0.7645 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.7522, allocations: 106.5 kB / 0.7646 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.7522, allocations: 7.984 kB / 0.7646 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.7526, allocations: 123.3 kB / 0.7647 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.7526, allocations: 0 / 0.7647 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0008295/0.7534, allocations: 318.5 kB / 0.765 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.7535, allocations: 51.41 kB / 0.7651 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.7536, allocations: 125 kB / 0.7652 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.7537, allocations: 29.7 kB / 0.7652 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.7538, allocations: 104 kB / 0.7653 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.7538, allocations: 31.7 kB / 0.7653 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.7538, allocations: 0 / 0.7653 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.754, allocations: 318.8 kB / 0.7657 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.7542, allocations: 71.94 kB / 0.7657 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.7544, allocations: 71.94 kB / 0.7658 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.7547, allocations: 93.66 kB / 0.7659 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7547, allocations: 0 / 0.7659 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005905/0.7553, allocations: 215.1 kB / 0.7661 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/0.7554, allocations: 38.73 kB / 0.7661 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.7554, allocations: 0 / 0.7661 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.7554, allocations: 0 / 0.7661 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.7556, allocations: 27.92 kB / 0.7661 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.7556, allocations: 0 / 0.7661 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.7558, allocations: 27.97 kB / 0.7662 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.7558, allocations: 8 kB / 0.7662 GB, free: 12.19 MB / 0.5417 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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: 1 * Record equations: 1 * 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.0001394/0.756, allocations: 117.8 kB / 0.7663 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.756, allocations: 7.906 kB / 0.7663 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005614/0.7566, allocations: 194.6 kB / 0.7665 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.7566, allocations: 0 / 0.7665 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.7566, allocations: 4 kB / 0.7665 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.7566, allocations: 0 / 0.7665 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.7568, allocations: 213.3 kB / 0.7667 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.7568, allocations: 0 / 0.7667 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.757, allocations: 23.98 kB / 0.7667 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.757, allocations: 0 / 0.7667 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.757, allocations: 3.984 kB / 0.7667 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.757, allocations: 7.953 kB / 0.7667 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.757, allocations: 0 / 0.7667 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.7575, allocations: 200.9 kB / 0.7669 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.7576, allocations: 85.02 kB / 0.767 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.7577, allocations: 4 kB / 0.767 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.7578, allocations: 19.98 kB / 0.767 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.7579, allocations: 19.92 kB / 0.767 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.7579, allocations: 4 kB / 0.767 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.806e-05/0.758, allocations: 109.3 kB / 0.7672 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.758, allocations: 0 / 0.7672 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003025/0.7583, allocations: 40 kB / 0.7672 GB, free: 11.05 MB / 0.5417 GB 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: 0 * Record equations: 1 * 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.0002675/0.7586, allocations: 115.2 kB / 0.7673 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005924/0.7592, allocations: 236.9 kB / 0.7675 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7592, allocations: 0 / 0.7675 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.7595, allocations: 101.7 kB / 0.7676 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.7597, allocations: 11.98 kB / 0.7676 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006877/0.7604, allocations: 255.1 kB / 0.7679 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.7608, allocations: 0.7082 MB / 0.7686 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.462e-05/0.7609, allocations: 11.98 kB / 0.7686 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.761, allocations: 7.438 kB / 0.7686 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of SimCode: time 4.01e-07/0.761, allocations: 0 / 0.7686 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of Templates: time 0.004679/0.7657, allocations: 1.282 MB / 0.7698 GB, free: 8.254 MB / 0.5417 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)