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.001563/0.001563, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7951/0.7951, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.001035/0.001035, allocations: 98.42 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.924e-05, allocations: 4 kB / 0.5535 GB, free: 9.055 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.471, allocations: 82.3 MB / 0.6338 GB, free: 40.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.6261, allocations: 112.2 MB / 0.7434 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.6263, allocations: 71.95 kB / 0.7434 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009929/0.6363, allocations: 3.516 MB / 0.7469 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6363, allocations: 0 / 0.7469 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.6364, allocations: 8 kB / 0.7469 GB, free: 7.008 MB / 0.5261 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.0006148/0.637, allocations: 432 kB / 0.7473 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.637, allocations: 8.031 kB / 0.7473 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.6371, allocations: 23.75 kB / 0.7473 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.6373, allocations: 192.5 kB / 0.7475 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.6373, allocations: 11.98 kB / 0.7475 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.6374, allocations: 4 kB / 0.7475 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001219/0.6375, allocations: 36 kB / 0.7476 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.6376, allocations: 73.66 kB / 0.7476 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.6377, allocations: 3.938 kB / 0.7476 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.6377, allocations: 3.984 kB / 0.7476 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.6377, allocations: 0 / 0.7476 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.6383, allocations: 337.3 kB / 0.7479 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.6384, allocations: 54.56 kB / 0.748 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.6385, allocations: 32.91 kB / 0.748 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.6385, allocations: 4.078 kB / 0.748 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.6387, allocations: 95.23 kB / 0.7481 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.6387, allocations: 0 / 0.7481 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002704/0.6389, allocations: 113.4 kB / 0.7482 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.639, allocations: 51.41 kB / 0.7483 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.805e-05/0.6391, allocations: 126.6 kB / 0.7484 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.6391, allocations: 29.7 kB / 0.7484 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.6392, allocations: 108 kB / 0.7485 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.6392, allocations: 19.72 kB / 0.7486 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.6392, allocations: 112 / 0.7486 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6394, allocations: 326.8 kB / 0.7489 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.6394, allocations: 31.98 kB / 0.7489 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.741e-05/0.6395, allocations: 24 kB / 0.7489 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.87e-05/0.6396, allocations: 44.02 kB / 0.749 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6396, allocations: 0 / 0.749 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002031/0.6398, allocations: 113.6 kB / 0.7491 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.6398, allocations: 34.47 kB / 0.7491 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6398, allocations: 4 kB / 0.7491 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.6399, allocations: 3.953 kB / 0.7491 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.64, allocations: 31.92 kB / 0.7491 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.64, allocations: 0 / 0.7491 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.6402, allocations: 27.81 kB / 0.7492 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.6402, allocations: 7.984 kB / 0.7492 GB, free: 4.438 MB / 0.5261 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 7.903e-05/0.6403, allocations: 109 kB / 0.7493 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.6403, allocations: 11.84 kB / 0.7493 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.6406, allocations: 118.2 kB / 0.7494 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6406, allocations: 11.94 kB / 0.7494 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6406, allocations: 0 / 0.7494 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6406, allocations: 192 / 0.7494 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.6408, allocations: 170.2 kB / 0.7496 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.6408, allocations: 7.938 kB / 0.7496 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.6409, allocations: 27.97 kB / 0.7496 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.6409, allocations: 0 / 0.7496 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.6409, allocations: 0 / 0.7496 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6409, allocations: 0 / 0.7496 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6409, allocations: 0 / 0.7496 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.6411, allocations: 136.9 kB / 0.7497 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.6412, allocations: 92.92 kB / 0.7498 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.6412, allocations: 0 / 0.7498 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.6414, allocations: 23.97 kB / 0.7499 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.6414, allocations: 15.98 kB / 0.7499 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.6415, allocations: 3.984 kB / 0.7499 GB, free: 3.633 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.971e-05/0.6415, allocations: 105.1 kB / 0.75 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6415, allocations: 0 / 0.75 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002285/0.6418, allocations: 43.92 kB / 0.75 GB, free: 3.488 MB / 0.5261 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.0001701/0.6419, allocations: 123.2 kB / 0.7501 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.6422, allocations: 169 kB / 0.7503 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6422, allocations: 0 / 0.7503 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.769e-05/0.6423, allocations: 65.69 kB / 0.7504 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.6425, allocations: 4 kB / 0.7504 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.6428, allocations: 148.2 kB / 0.7505 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.6431, allocations: 0.7041 MB / 0.7512 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.512e-05/0.6432, allocations: 11.98 kB / 0.7512 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.6432, allocations: 11.44 kB / 0.7512 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of SimCode: time 2.81e-07/0.6432, allocations: 0 / 0.7512 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of Templates: time 0.003807/0.647, allocations: 1.222 MB / 0.7524 GB, free: 0.9727 MB / 0.5261 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)