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.001647/0.001647, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8276/0.8276, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.47/1.47, allocations: 221.3 MB / 400.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009104/0.0009105, allocations: 90.3 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.548e-05, allocations: 2.562 kB / 0.56 GB, free: 88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1617, allocations: 82.3 MB / 0.6404 GB, free: 7.863 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5927/0.7545, allocations: 112.8 MB / 0.7506 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.7548, allocations: 74.91 kB / 0.7507 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01001/0.7648, allocations: 3.533 MB / 0.7541 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7648, allocations: 0 / 0.7541 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.7649, allocations: 0 / 0.7541 GB, free: 27.23 MB / 0.5105 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.000666/0.7655, allocations: 443.3 kB / 0.7545 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.7656, allocations: 11.72 kB / 0.7545 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.7657, allocations: 14.39 kB / 0.7546 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.7659, allocations: 195.6 kB / 0.7547 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.7659, allocations: 3.938 kB / 0.7548 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.766, allocations: 7.125 kB / 0.7548 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.7662, allocations: 84.97 kB / 0.7548 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7662, allocations: 0 / 0.7548 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.7662, allocations: 0 / 0.7548 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7662, allocations: 0.625 kB / 0.7548 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.468e-05/0.7663, allocations: 46.41 kB / 0.7549 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.767, allocations: 365 kB / 0.7552 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.7671, allocations: 62.5 kB / 0.7553 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.7671, allocations: 31.92 kB / 0.7553 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.7672, allocations: 0 / 0.7553 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.7673, allocations: 94.45 kB / 0.7554 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.7673, allocations: 0 / 0.7554 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.00025/0.7676, allocations: 110.5 kB / 0.7555 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.7677, allocations: 58.41 kB / 0.7556 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.7678, allocations: 122.8 kB / 0.7557 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.7678, allocations: 29.55 kB / 0.7557 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.7679, allocations: 106.6 kB / 0.7558 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.7679, allocations: 22.66 kB / 0.7558 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/0.7679, allocations: 7.062 kB / 0.7558 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.7681, allocations: 322.8 kB / 0.7562 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.7681, allocations: 31.92 kB / 0.7562 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.7682, allocations: 38.38 kB / 0.7562 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.952e-05/0.7683, allocations: 63.7 kB / 0.7563 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.7683, allocations: 0 / 0.7563 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002268/0.7685, allocations: 151 kB / 0.7564 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.7686, allocations: 33.53 kB / 0.7565 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.7686, allocations: 192 / 0.7565 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.7686, allocations: 3.844 kB / 0.7565 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.7688, allocations: 28.53 kB / 0.7565 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.7688, allocations: 0 / 0.7565 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.7689, allocations: 33.39 kB / 0.7565 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.769, allocations: 10.92 kB / 0.7565 GB, free: 25.4 MB / 0.5105 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 () * 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 8.712e-05/0.7691, allocations: 108 kB / 0.7566 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.7691, allocations: 11.56 kB / 0.7566 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.7693, allocations: 124.8 kB / 0.7568 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.7694, allocations: 0 / 0.7568 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7694, allocations: 4 kB / 0.7568 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7694, allocations: 3.141 kB / 0.7568 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.7695, allocations: 203 kB / 0.757 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7695, allocations: 0 / 0.757 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.7697, allocations: 20.12 kB / 0.757 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.7697, allocations: 0 / 0.757 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.7697, allocations: 2.953 kB / 0.757 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7697, allocations: 7.953 kB / 0.757 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7697, allocations: 0 / 0.757 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.7699, allocations: 141 kB / 0.7571 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.77, allocations: 88.91 kB / 0.7572 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.77, allocations: 7.094 kB / 0.7572 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.7702, allocations: 18.7 kB / 0.7572 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.7702, allocations: 20.36 kB / 0.7573 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.7703, allocations: 4 kB / 0.7573 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.214e-05/0.7703, allocations: 105.7 kB / 0.7574 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7703, allocations: 0 / 0.7574 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002614/0.7706, allocations: 48.98 kB / 0.7574 GB, free: 24.77 MB / 0.5105 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) * 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.0002442/0.7709, allocations: 114.7 kB / 0.7575 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002754/0.7712, allocations: 178 kB / 0.7577 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7712, allocations: 0 / 0.7577 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.7713, allocations: 66.59 kB / 0.7578 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.7714, allocations: 15.75 kB / 0.7578 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.7719, allocations: 142.1 kB / 0.7579 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.7723, allocations: 0.7044 MB / 0.7586 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.612e-05/0.7723, allocations: 14.03 kB / 0.7586 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.7724, allocations: 10.44 kB / 0.7586 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/0.7724, allocations: 0 / 0.7586 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.004407/0.7768, allocations: 1.293 MB / 0.7599 GB, free: 23.34 MB / 0.5105 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)