Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.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.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, 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.7603/0.7603, allocations: 133.6 MB / 141.6 MB, free: 2.938 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.411/1.411, allocations: 221.5 MB / 395.4 MB, free: 10.82 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.0009919/0.0009921, allocations: 94.89 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.921e-05, allocations: 0 / 0.5534 GB, free: 9.055 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4488, allocations: 82.31 MB / 0.6338 GB, free: 40.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.5971, allocations: 111.2 MB / 0.7424 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.5973, allocations: 71.95 kB / 0.7425 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00307/0.6004, allocations: 1.127 MB / 0.7436 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6004, allocations: 0 / 0.7436 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.6004, allocations: 0 / 0.7436 GB, free: 10.35 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004506/0.6009, allocations: 346.5 kB / 0.7439 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.6009, allocations: 8.031 kB / 0.7439 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.601, allocations: 8 kB / 0.744 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.6011, allocations: 182.8 kB / 0.7441 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.6012, allocations: 4 kB / 0.7441 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.6012, allocations: 4 kB / 0.7441 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.69e-05/0.6013, allocations: 20 kB / 0.7442 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.6014, allocations: 49.67 kB / 0.7442 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.6014, allocations: 0 / 0.7442 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.6014, allocations: 0 / 0.7442 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.6014, allocations: 4 kB / 0.7442 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.6019, allocations: 285.3 kB / 0.7445 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.919e-05/0.602, allocations: 42.58 kB / 0.7445 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.6021, allocations: 25.06 kB / 0.7445 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.6021, allocations: 0 / 0.7445 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.6022, allocations: 75.42 kB / 0.7446 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.6023, allocations: 0 / 0.7446 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002004/0.6025, allocations: 77.47 kB / 0.7447 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.6025, allocations: 59.41 kB / 0.7447 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.6026, allocations: 96.98 kB / 0.7448 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.6026, allocations: 33.69 kB / 0.7449 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.6027, allocations: 87.98 kB / 0.745 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.6027, allocations: 19.81 kB / 0.745 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.6027, allocations: 0 / 0.745 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6029, allocations: 322.8 kB / 0.7453 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.6029, allocations: 16 kB / 0.7453 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.467e-05/0.603, allocations: 39.44 kB / 0.7453 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.494e-05/0.603, allocations: 15.98 kB / 0.7453 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.603, allocations: 4 kB / 0.7453 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001211/0.6031, allocations: 85.52 kB / 0.7454 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.6032, allocations: 8 kB / 0.7454 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6032, allocations: 0 / 0.7454 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6032, allocations: 0 / 0.7454 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.6033, allocations: 11.94 kB / 0.7455 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6033, allocations: 4 kB / 0.7455 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.6033, allocations: 11.92 kB / 0.7455 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.6034, allocations: 4 kB / 0.7455 GB, free: 8.223 MB / 0.5261 GB 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.pulseStart,booleanPulse.pulseStart,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 8.46e-05/0.6034, allocations: 117 kB / 0.7456 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.6035, allocations: 3.906 kB / 0.7456 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.6035, allocations: 12.41 kB / 0.7456 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.6035, allocations: 0 / 0.7456 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6035, allocations: 3.938 kB / 0.7456 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6035, allocations: 0 / 0.7456 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.6039, allocations: 331 kB / 0.7459 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.6039, allocations: 0 / 0.7459 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.604, allocations: 8.062 kB / 0.7459 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.604, allocations: 0 / 0.7459 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.604, allocations: 3.984 kB / 0.7459 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.604, allocations: 4.188 kB / 0.7459 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.604, allocations: 0 / 0.7459 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.6042, allocations: 179.3 kB / 0.7461 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.6043, allocations: 85.11 kB / 0.7462 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.6043, allocations: 7.922 kB / 0.7462 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.6044, allocations: 4 kB / 0.7462 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.6044, allocations: 11.98 kB / 0.7462 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.6044, allocations: 4 kB / 0.7462 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.6045, allocations: 79.56 kB / 0.7463 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6045, allocations: 0 / 0.7463 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002161/0.6047, allocations: 11.98 kB / 0.7463 GB, free: 7.289 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,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.0001229/0.6048, allocations: 107.4 kB / 0.7464 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.6049, allocations: 39.94 kB / 0.7464 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.605, allocations: 0 / 0.7464 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.524e-05/0.605, allocations: 31.94 kB / 0.7465 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.6052, allocations: 13.91 kB / 0.7465 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.6055, allocations: 111.9 kB / 0.7466 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.6058, allocations: 0.6846 MB / 0.7473 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.6058, allocations: 7.984 kB / 0.7473 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.6059, allocations: 11.44 kB / 0.7473 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.6059, allocations: 0 / 0.7473 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of Templates: time 0.002338/0.6082, allocations: 0.6369 MB / 0.7479 GB, free: 5.602 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)