Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") translateModel(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3408/0.3408, allocations: 55.02 MB / 69.97 MB, free: 8.68 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0012/0.0012, allocations: 191.5 kB / 83.98 MB, free: 10.85 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.799/1.799, allocations: 194.4 MB / 292.3 MB, free: 3.621 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001813/0.001813, allocations: 124.2 kB / 350.7 MB, free: 9.121 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004232, allocations: 12 kB / 418.9 MB, free: 37.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1377, allocations: 57.65 MB / 476.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4941/0.6319, allocations: 86.79 MB / 0.5501 GB, free: 2.555 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.6321, allocations: 80.06 kB / 0.5502 GB, free: 2.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005459/0.6376, allocations: 1.876 MB / 0.552 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6376, allocations: 0 / 0.552 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.6377, allocations: 4 kB / 0.552 GB, free: 0.8633 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006041/0.6383, allocations: 488.9 kB / 0.5525 GB, free: 348 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.6383, allocations: 12.03 kB / 0.5525 GB, free: 336 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.87e-05/0.6384, allocations: 15.81 kB / 0.5525 GB, free: 320 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.6386, allocations: 190 kB / 0.5527 GB, free: 92 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.6387, allocations: 11.77 kB / 0.5527 GB, free: 84 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.6387, allocations: 4 kB / 0.5527 GB, free: 80 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.6391, allocations: 141 kB / 0.5528 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.6391, allocations: 0 / 0.5528 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.6391, allocations: 3.812 kB / 0.5528 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.6392, allocations: 4 kB / 0.5528 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.6395, allocations: 121.1 kB / 0.553 GB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.6403, allocations: 378.4 kB / 0.5533 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.6406, allocations: 135.6 kB / 0.5534 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.6406, allocations: 7.562 kB / 0.5535 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000304/0.641, allocations: 144.4 kB / 0.5536 GB, free: 15.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.641, allocations: 0 / 0.5536 GB, free: 15.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008731/0.6419, allocations: 424.1 kB / 0.554 GB, free: 14.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.6419, allocations: 92.84 kB / 0.5541 GB, free: 14.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.6421, allocations: 126 kB / 0.5542 GB, free: 14.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.6421, allocations: 25.7 kB / 0.5542 GB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.6422, allocations: 97.75 kB / 0.5543 GB, free: 14.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.6422, allocations: 30.94 kB / 0.5544 GB, free: 14.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.6422, allocations: 3.25 kB / 0.5544 GB, free: 14.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6424, allocations: 330 kB / 0.5547 GB, free: 14.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002416/0.6426, allocations: 86.52 kB / 0.5548 GB, free: 14.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.6428, allocations: 87.97 kB / 0.5548 GB, free: 13.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.6431, allocations: 146.9 kB / 0.555 GB, free: 13.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6431, allocations: 96 / 0.555 GB, free: 13.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005659/0.6437, allocations: 309 kB / 0.5553 GB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.6437, allocations: 70.77 kB / 0.5553 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.6438, allocations: 0 / 0.5553 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.6438, allocations: 4 kB / 0.5553 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.6439, allocations: 27.47 kB / 0.5554 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.644, allocations: 4 kB / 0.5554 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.6441, allocations: 31.95 kB / 0.5554 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.6442, allocations: 4 kB / 0.5554 GB, free: 13.41 MB / 378.7 MB 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: 2 * Record equations: 0 * 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.0001591/0.6444, allocations: 170 kB / 0.5556 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.6444, allocations: 7.906 kB / 0.5556 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.6444, allocations: 16.27 kB / 0.5556 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6444, allocations: 0 / 0.5556 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6445, allocations: 0 / 0.5556 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.6445, allocations: 0 / 0.5556 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.6446, allocations: 219.8 kB / 0.5558 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6447, allocations: 0 / 0.5558 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.6448, allocations: 27.92 kB / 0.5558 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.6448, allocations: 0 / 0.5558 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.6448, allocations: 7.984 kB / 0.5558 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6448, allocations: 0 / 0.5558 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6448, allocations: 0 / 0.5558 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.6454, allocations: 306.7 kB / 0.5561 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.6455, allocations: 88.95 kB / 0.5562 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.6455, allocations: 7.062 kB / 0.5562 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.6457, allocations: 39.95 kB / 0.5563 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.6459, allocations: 22.16 kB / 0.5563 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.6459, allocations: 4 kB / 0.5563 GB, free: 12.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.659e-05/0.646, allocations: 109 kB / 0.5564 GB, free: 12.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.646, allocations: 0 / 0.5564 GB, free: 12.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.6462, allocations: 24 kB / 0.5564 GB, free: 12.36 MB / 378.7 MB 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: 1 * Record equations: 0 * 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.0001335/0.6463, allocations: 102.4 kB / 0.5565 GB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006767/0.647, allocations: 363.7 kB / 0.5569 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.647, allocations: 0 / 0.5569 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.6474, allocations: 190.5 kB / 0.557 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.6476, allocations: 19.56 kB / 0.5571 GB, free: 11.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006834/0.6483, allocations: 325.1 kB / 0.5574 GB, free: 11.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.6486, allocations: 0.7082 MB / 0.5581 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.094e-05/0.6487, allocations: 23.61 kB / 0.5581 GB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.6487, allocations: 18.92 kB / 0.5581 GB, free: 10.66 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6487, allocations: 0 / 0.5581 GB, free: 10.66 MB / 378.7 MB Notification: Performance of Templates: time 0.004126/0.6529, allocations: 1.458 MB / 0.5595 GB, free: 9.223 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)