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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, 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/package.mo): time 0.7255/0.7255, allocations: 130.6 MB / 143.8 MB, free: 13.57 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.487/1.487, allocations: 221.3 MB / 396.8 MB, free: 9.148 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.0009622/0.0009618, allocations: 107.2 kB / 479 MB, free: 10.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.091e-05, allocations: 2.375 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1818, allocations: 81.58 MB / 0.6347 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6671/0.8489, allocations: 112.6 MB / 0.7447 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.8492, allocations: 69.98 kB / 0.7448 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01025/0.8594, allocations: 3.539 MB / 0.7482 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.906e-06/0.8595, allocations: 0 / 0.7482 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.8595, allocations: 0 / 0.7482 GB, free: 27.77 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.0006829/0.8602, allocations: 446 kB / 0.7486 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.8603, allocations: 7.719 kB / 0.7487 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.8603, allocations: 15.53 kB / 0.7487 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.8606, allocations: 199.9 kB / 0.7489 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.8606, allocations: 3 kB / 0.7489 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.8607, allocations: 3.969 kB / 0.7489 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.8609, allocations: 78.95 kB / 0.7489 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.8609, allocations: 3.906 kB / 0.7489 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.8609, allocations: 11.44 kB / 0.749 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.8609, allocations: 0 / 0.749 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.8611, allocations: 43.55 kB / 0.749 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000681/0.8617, allocations: 360.4 kB / 0.7493 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.8619, allocations: 58.41 kB / 0.7494 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.492e-05/0.8619, allocations: 36.97 kB / 0.7494 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.862, allocations: 0 / 0.7494 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.8622, allocations: 95.09 kB / 0.7495 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.8622, allocations: 0 / 0.7495 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002754/0.8625, allocations: 122.8 kB / 0.7496 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.8625, allocations: 51.41 kB / 0.7497 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.8626, allocations: 122.2 kB / 0.7498 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.8627, allocations: 29.52 kB / 0.7498 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.8627, allocations: 105.4 kB / 0.7499 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.8628, allocations: 26.67 kB / 0.75 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.8628, allocations: 0 / 0.75 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.8629, allocations: 324.8 kB / 0.7503 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/0.863, allocations: 28.28 kB / 0.7503 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.863, allocations: 40.03 kB / 0.7503 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.296e-05/0.8631, allocations: 57.45 kB / 0.7504 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8631, allocations: 3.938 kB / 0.7504 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002139/0.8634, allocations: 153.1 kB / 0.7505 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.8634, allocations: 33.39 kB / 0.7506 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.8634, allocations: 0 / 0.7506 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.8634, allocations: 3.984 kB / 0.7506 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.8636, allocations: 25.88 kB / 0.7506 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.8636, allocations: 4 kB / 0.7506 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.8637, allocations: 33.3 kB / 0.7506 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.8638, allocations: 7.25 kB / 0.7506 GB, free: 25.93 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.106e-05/0.8639, allocations: 110.4 kB / 0.7507 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.8639, allocations: 11.58 kB / 0.7508 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.8641, allocations: 123.7 kB / 0.7509 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.8642, allocations: 3.047 kB / 0.7509 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.8642, allocations: 0 / 0.7509 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.8642, allocations: 3.938 kB / 0.7509 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.8643, allocations: 204.7 kB / 0.7511 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.8644, allocations: 0 / 0.7511 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.8645, allocations: 21.98 kB / 0.7511 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.8645, allocations: 0 / 0.7511 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.8645, allocations: 10.56 kB / 0.7511 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.8645, allocations: 7.844 kB / 0.7511 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.8645, allocations: 0 / 0.7511 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.8647, allocations: 128.8 kB / 0.7512 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.8648, allocations: 92.27 kB / 0.7513 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.8648, allocations: 0 / 0.7513 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.8649, allocations: 24.77 kB / 0.7513 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.865, allocations: 19.08 kB / 0.7514 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.865, allocations: 3.812 kB / 0.7514 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.259e-05/0.8651, allocations: 103.3 kB / 0.7515 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8651, allocations: 0 / 0.7515 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002241/0.8653, allocations: 48.08 kB / 0.7515 GB, free: 25.31 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.0001812/0.8655, allocations: 131.7 kB / 0.7516 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.8658, allocations: 166.8 kB / 0.7518 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8658, allocations: 4 kB / 0.7518 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.19e-05/0.8659, allocations: 69.03 kB / 0.7519 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.866, allocations: 8.078 kB / 0.7519 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.8664, allocations: 139.8 kB / 0.752 GB, free: 25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.8668, allocations: 0.7045 MB / 0.7527 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.061e-05/0.8669, allocations: 17.45 kB / 0.7527 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.8669, allocations: 11.16 kB / 0.7527 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of SimCode: time 7.52e-07/0.8669, allocations: 0 / 0.7527 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.004053/0.871, allocations: 1.29 MB / 0.754 GB, free: 24.2 MB / 0.5105 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)