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") [: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.001858/0.001858, allocations: 172.5 kB / 7.457 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5941/0.5941, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.115/1.115, allocations: 221.3 MB / 395 MB, free: 10.18 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.0008405/0.0008405, allocations: 100.4 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.348e-06/4.378e-06, allocations: 0 / 0.5528 GB, free: 89.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 82.29 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3006/0.4007, allocations: 111.1 MB / 0.7417 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001659/0.4009, allocations: 71.3 kB / 0.7418 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002395/0.4033, allocations: 0.8187 MB / 0.7426 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.4033, allocations: 7.969 kB / 0.7426 GB, free: 10.79 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.0003127/0.4037, allocations: 347.5 kB / 0.7429 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/0.4037, allocations: 7.688 kB / 0.743 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.4037, allocations: 9.391 kB / 0.743 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.4039, allocations: 170.9 kB / 0.7431 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4039, allocations: 3.469 kB / 0.7431 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.4039, allocations: 9.531 kB / 0.7431 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.735e-05/0.404, allocations: 22.39 kB / 0.7432 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.156e-05/0.404, allocations: 49.11 kB / 0.7432 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.404, allocations: 3.906 kB / 0.7432 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.4041, allocations: 0 / 0.7432 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4041, allocations: 0 / 0.7432 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.4044, allocations: 274.5 kB / 0.7435 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.173e-05/0.4045, allocations: 50.45 kB / 0.7435 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.4045, allocations: 16.05 kB / 0.7435 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.4045, allocations: 7.844 kB / 0.7435 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.845e-05/0.4046, allocations: 68.52 kB / 0.7436 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.4046, allocations: 0 / 0.7436 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001833/0.4048, allocations: 70.38 kB / 0.7437 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.4048, allocations: 52.95 kB / 0.7437 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.16e-05/0.4049, allocations: 101.1 kB / 0.7438 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4049, allocations: 29.64 kB / 0.7439 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.992e-05/0.405, allocations: 97.16 kB / 0.7439 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.405, allocations: 16.69 kB / 0.744 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-06/0.405, allocations: 0 / 0.744 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.4051, allocations: 323.3 kB / 0.7443 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.4051, allocations: 11 kB / 0.7443 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.28e-05/0.4052, allocations: 42.61 kB / 0.7443 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.4052, allocations: 22.19 kB / 0.7443 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4052, allocations: 0 / 0.7443 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001055/0.4053, allocations: 89.3 kB / 0.7444 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.4053, allocations: 3.844 kB / 0.7444 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4053, allocations: 3.875 kB / 0.7444 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.4053, allocations: 0 / 0.7444 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.4054, allocations: 13.39 kB / 0.7444 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.4054, allocations: 3.969 kB / 0.7445 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.4055, allocations: 14.31 kB / 0.7445 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.4055, allocations: 3.781 kB / 0.7445 GB, free: 25.12 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 6.448e-05/0.4056, allocations: 113.8 kB / 0.7446 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.4056, allocations: 3.875 kB / 0.7446 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.4056, allocations: 5.656 kB / 0.7446 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4056, allocations: 0 / 0.7446 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4056, allocations: 3.906 kB / 0.7446 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4056, allocations: 0 / 0.7446 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.4059, allocations: 324.8 kB / 0.7449 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4059, allocations: 0.5625 kB / 0.7449 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.406, allocations: 8.891 kB / 0.7449 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.406, allocations: 0 / 0.7449 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.406, allocations: 3 kB / 0.7449 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.406, allocations: 4.875 kB / 0.7449 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.406, allocations: 1.453 kB / 0.7449 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000103/0.4061, allocations: 169.4 kB / 0.7451 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.4061, allocations: 86.19 kB / 0.7452 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.4062, allocations: 3.938 kB / 0.7452 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.627e-05/0.4062, allocations: 10.56 kB / 0.7452 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.4063, allocations: 10.33 kB / 0.7452 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.4063, allocations: 9.625 kB / 0.7452 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.91e-05/0.4063, allocations: 79.16 kB / 0.7453 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002056/0.4065, allocations: 11.56 kB / 0.7453 GB, free: 24.4 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 7.854e-05/0.4066, allocations: 100.4 kB / 0.7454 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.271e-05/0.4067, allocations: 50.84 kB / 0.7454 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.4067, allocations: 0 / 0.7454 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.4068, allocations: 32.33 kB / 0.7455 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.4069, allocations: 5.922 kB / 0.7455 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.4072, allocations: 115.8 kB / 0.7456 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.4075, allocations: 0.7031 MB / 0.7463 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.4075, allocations: 0 / 0.7463 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.002025/0.4095, allocations: 0.7074 MB / 0.7469 GB, free: 23.45 MB / 0.5105 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)