Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00244/0.00244, allocations: 178.3 kB / 7.449 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6422/0.6422, allocations: 130.6 MB / 138.5 MB, free: 2.219 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.442/1.442, allocations: 221.4 MB / 391.4 MB, free: 13.07 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.001017/0.001017, allocations: 91.17 kB / 473.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.187e-06/9.227e-06, allocations: 0 / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1712, allocations: 81.58 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4694/0.6406, allocations: 110.9 MB / 0.7359 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.6408, allocations: 74.17 kB / 0.7359 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002634/0.6435, allocations: 0.8177 MB / 0.7367 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.6435, allocations: 3.906 kB / 0.7367 GB, free: 11.31 MB / 0.4948 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.0003749/0.6439, allocations: 355 kB / 0.7371 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.6439, allocations: 7.531 kB / 0.7371 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.644, allocations: 7.781 kB / 0.7371 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.6441, allocations: 168.5 kB / 0.7373 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.6441, allocations: 7.734 kB / 0.7373 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.6441, allocations: 5.375 kB / 0.7373 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.835e-05/0.6442, allocations: 20.89 kB / 0.7373 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.903e-05/0.6443, allocations: 44.75 kB / 0.7373 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.6443, allocations: 7.844 kB / 0.7373 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.6443, allocations: 7.875 kB / 0.7373 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.6443, allocations: 0.9375 kB / 0.7373 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.6447, allocations: 267.1 kB / 0.7376 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.746e-05/0.6448, allocations: 51.38 kB / 0.7376 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.6449, allocations: 19.61 kB / 0.7377 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.6449, allocations: 96 / 0.7377 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.694e-05/0.645, allocations: 78.08 kB / 0.7377 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.645, allocations: 3.938 kB / 0.7377 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001557/0.6451, allocations: 71.42 kB / 0.7378 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.6452, allocations: 59.28 kB / 0.7379 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.6453, allocations: 97.94 kB / 0.738 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.6453, allocations: 25.7 kB / 0.738 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.6454, allocations: 87.98 kB / 0.7381 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.6454, allocations: 19.64 kB / 0.7381 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.6454, allocations: 0 / 0.7381 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.6455, allocations: 317.6 kB / 0.7384 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.6455, allocations: 18.5 kB / 0.7384 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.835e-05/0.6456, allocations: 43.11 kB / 0.7385 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.035e-05/0.6456, allocations: 13.55 kB / 0.7385 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6456, allocations: 0 / 0.7385 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001217/0.6457, allocations: 86.94 kB / 0.7385 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.6458, allocations: 3.906 kB / 0.7386 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.6458, allocations: 3.938 kB / 0.7386 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.6458, allocations: 3.812 kB / 0.7386 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.6459, allocations: 18.8 kB / 0.7386 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.6459, allocations: 0 / 0.7386 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.6459, allocations: 14.94 kB / 0.7386 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.6459, allocations: 3.969 kB / 0.7386 GB, free: 25.65 MB / 0.5105 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 7.247e-05/0.646, allocations: 108.8 kB / 0.7387 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.646, allocations: 3.938 kB / 0.7387 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.6461, allocations: 13 kB / 0.7387 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6461, allocations: 3.812 kB / 0.7387 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6461, allocations: 3.906 kB / 0.7387 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6461, allocations: 0 / 0.7387 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.6464, allocations: 323 kB / 0.739 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6465, allocations: 4 kB / 0.739 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.6465, allocations: 5.219 kB / 0.739 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6465, allocations: 192 / 0.739 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.6465, allocations: 0 / 0.739 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6465, allocations: 14.25 kB / 0.7391 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.6465, allocations: 0 / 0.7391 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001194/0.6466, allocations: 165.7 kB / 0.7392 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.6467, allocations: 81.02 kB / 0.7393 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.6467, allocations: 9.312 kB / 0.7393 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.6468, allocations: 5.453 kB / 0.7393 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.6469, allocations: 13.62 kB / 0.7393 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.6469, allocations: 4.125 kB / 0.7393 GB, free: 25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.733e-05/0.6469, allocations: 79.27 kB / 0.7394 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002103/0.6471, allocations: 11.59 kB / 0.7394 GB, free: 24.93 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: 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 9.793e-05/0.6472, allocations: 103.7 kB / 0.7395 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.821e-05/0.6473, allocations: 46.45 kB / 0.7395 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.6474, allocations: 0 / 0.7395 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.6474, allocations: 22.44 kB / 0.7396 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.6476, allocations: 8.719 kB / 0.7396 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.6479, allocations: 116.2 kB / 0.7397 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.6482, allocations: 0.699 MB / 0.7404 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of SimCode: time 1.153e-06/0.6482, allocations: 0 / 0.7404 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.002426/0.6507, allocations: 0.7157 MB / 0.7411 GB, free: 23.97 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)