Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.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.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer") translateModel(Annex60.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2853/0.2853, allocations: 54.34 MB / 66.9 MB, free: 6.09 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.001052/0.001052, allocations: 181 kB / 80.71 MB, free: 15.39 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.583/1.583, allocations: 194.2 MB / 288.6 MB, free: 15 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002299/0.002299, allocations: 123.5 kB / 346.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.637e-05, allocations: 4 kB / 412.4 MB, free: 21.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 57.65 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/0.5227, allocations: 86.15 MB / 0.5431 GB, free: 4.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.523, allocations: 75.95 kB / 0.5432 GB, free: 4.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003089/0.5261, allocations: 1.07 MB / 0.5443 GB, free: 3.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5261, allocations: 3.938 kB / 0.5443 GB, free: 3.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.5261, allocations: 0 / 0.5443 GB, free: 3.129 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004186/0.5266, allocations: 351 kB / 0.5446 GB, free: 2.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.5266, allocations: 16.02 kB / 0.5446 GB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.5267, allocations: 7.906 kB / 0.5446 GB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.5268, allocations: 163 kB / 0.5448 GB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.5268, allocations: 4 kB / 0.5448 GB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.5269, allocations: 8 kB / 0.5448 GB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.527, allocations: 60.23 kB / 0.5449 GB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.527, allocations: 0 / 0.5449 GB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.527, allocations: 0 / 0.5449 GB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.527, allocations: 0 / 0.5449 GB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.456e-05/0.5271, allocations: 27.98 kB / 0.5449 GB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.5276, allocations: 300.7 kB / 0.5452 GB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.5277, allocations: 54.62 kB / 0.5452 GB, free: 2.012 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.5278, allocations: 25.92 kB / 0.5452 GB, free: 1.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.5278, allocations: 8 kB / 0.5452 GB, free: 1.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.528, allocations: 67.39 kB / 0.5453 GB, free: 1.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.528, allocations: 0 / 0.5453 GB, free: 1.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002207/0.5282, allocations: 85.53 kB / 0.5454 GB, free: 1.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.5282, allocations: 55.39 kB / 0.5454 GB, free: 1.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.5283, allocations: 105 kB / 0.5455 GB, free: 1.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.5284, allocations: 25.7 kB / 0.5456 GB, free: 1.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.5284, allocations: 98.02 kB / 0.5457 GB, free: 1.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.5284, allocations: 11.81 kB / 0.5457 GB, free: 1.492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.5285, allocations: 4.094 kB / 0.5457 GB, free: 1.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5286, allocations: 322.8 kB / 0.546 GB, free: 1.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.362e-05/0.5286, allocations: 16 kB / 0.546 GB, free: 1.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/0.5287, allocations: 39.44 kB / 0.546 GB, free: 1.098 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.5287, allocations: 31.88 kB / 0.5461 GB, free: 1.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5288, allocations: 0 / 0.5461 GB, free: 1.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001307/0.5289, allocations: 93.52 kB / 0.5462 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5289, allocations: 8 kB / 0.5462 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.5289, allocations: 0 / 0.5462 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5289, allocations: 0 / 0.5462 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.529, allocations: 15.88 kB / 0.5462 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.529, allocations: 4 kB / 0.5462 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.5291, allocations: 16.02 kB / 0.5462 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.5291, allocations: 4 kB / 0.5462 GB, free: 0.9219 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 7.98e-05/0.5292, allocations: 120.8 kB / 0.5463 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.5292, allocations: 7.906 kB / 0.5463 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.5293, allocations: 12.08 kB / 0.5463 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5293, allocations: 0 / 0.5463 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5293, allocations: 1.5 kB / 0.5463 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5293, allocations: 4 kB / 0.5463 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.5297, allocations: 362.4 kB / 0.5467 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5297, allocations: 0 / 0.5467 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.5298, allocations: 7.938 kB / 0.5467 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5298, allocations: 0 / 0.5467 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.5298, allocations: 4 kB / 0.5467 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5298, allocations: 0 / 0.5467 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5298, allocations: 4 kB / 0.5467 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.53, allocations: 187.3 kB / 0.5469 GB, free: 156 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.53, allocations: 77.11 kB / 0.547 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.53, allocations: 4.25 kB / 0.547 GB, free: 56 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.5301, allocations: 11.98 kB / 0.547 GB, free: 44 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.5302, allocations: 16.2 kB / 0.547 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.5302, allocations: 0 / 0.547 GB, free: 28 kB / 378.7 MB Notification: Performance of sorting global known variables: time 5.647e-05/0.5303, allocations: 83.27 kB / 0.5471 GB, free: 15.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5303, allocations: 8 kB / 0.5471 GB, free: 15.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.5305, allocations: 12 kB / 0.5471 GB, free: 15.93 MB / 394.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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulsStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001301/0.5306, allocations: 99.23 kB / 0.5472 GB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.5307, allocations: 47.94 kB / 0.5472 GB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5308, allocations: 0 / 0.5472 GB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.506e-05/0.5308, allocations: 27.94 kB / 0.5473 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.531, allocations: 15.94 kB / 0.5473 GB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.5314, allocations: 124.7 kB / 0.5474 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.5317, allocations: 0.6848 MB / 0.5481 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.863e-05/0.5317, allocations: 11.94 kB / 0.5481 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.5318, allocations: 11.44 kB / 0.5481 GB, free: 14.85 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5318, allocations: 0 / 0.5481 GB, free: 14.85 MB / 394.7 MB Notification: Performance of Templates: time 0.002773/0.5346, allocations: 0.6639 MB / 0.5487 GB, free: 14.19 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe 2>&1)