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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00612/0.006121, allocations: 95.61 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001162, allocations: 197.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9767/0.9767, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.89 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.5543, allocations: 80.91 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.004265/0.5587, allocations: 1.466 MB / 0.666 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.5597, allocations: 448 kB / 0.6665 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.5598, allocations: 1.344 kB / 0.6665 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.163e-05/0.5598, allocations: 3.938 kB / 0.6665 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.56, allocations: 13.27 kB / 0.6665 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.5602, allocations: 24 kB / 0.6665 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.5603, allocations: 44.02 kB / 0.6665 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.5605, allocations: 22.12 kB / 0.6666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.5606, allocations: 23.64 kB / 0.6666 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.5607, allocations: 20.44 kB / 0.6666 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.5607, allocations: 8.469 kB / 0.6666 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.604e-05/0.5607, allocations: 4.438 kB / 0.6666 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.5607, allocations: 14.02 kB / 0.6666 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.5608, allocations: 22.73 kB / 0.6667 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.561, allocations: 45.56 kB / 0.6667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.561, allocations: 0 / 0.6667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.963e-06/0.561, allocations: 0 / 0.6667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.561, allocations: 0 / 0.6667 GB, free: 5.926 MB / 0.4981 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.000593/0.5616, allocations: 366 kB / 0.667 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.5617, allocations: 8.625 kB / 0.6671 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.5617, allocations: 7.703 kB / 0.6671 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.5619, allocations: 166.7 kB / 0.6672 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.5619, allocations: 7.484 kB / 0.6672 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.5619, allocations: 7.594 kB / 0.6672 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.5621, allocations: 59.88 kB / 0.6673 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5621, allocations: 1.438 kB / 0.6673 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5621, allocations: 4 kB / 0.6673 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.5621, allocations: 5.219 kB / 0.6673 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.123e-05/0.5622, allocations: 26.08 kB / 0.6673 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.5627, allocations: 304.9 kB / 0.6676 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.5629, allocations: 53.28 kB / 0.6677 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.563, allocations: 28.91 kB / 0.6677 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.563, allocations: 1.75 kB / 0.6677 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.5632, allocations: 71.45 kB / 0.6678 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.5632, allocations: 0 / 0.6678 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002344/0.5634, allocations: 109.2 kB / 0.6679 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.5635, allocations: 54.03 kB / 0.6679 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.523e-05/0.5635, allocations: 104.2 kB / 0.668 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.5636, allocations: 35.08 kB / 0.6681 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.5636, allocations: 85.62 kB / 0.6681 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.5636, allocations: 23.66 kB / 0.6682 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.5637, allocations: 26.78 kB / 0.6682 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.5637, allocations: 323.9 kB / 0.6685 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/0.5638, allocations: 13.94 kB / 0.6685 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.332e-05/0.5638, allocations: 43.73 kB / 0.6686 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.693e-05/0.5639, allocations: 71.86 kB / 0.6686 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5639, allocations: 0 / 0.6686 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001324/0.5641, allocations: 106.6 kB / 0.6687 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.5641, allocations: 5.406 kB / 0.6687 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5641, allocations: 1.156 kB / 0.6687 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.5641, allocations: 1.312 kB / 0.6687 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.5642, allocations: 8.375 kB / 0.6687 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5642, allocations: 5.688 kB / 0.6687 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.5643, allocations: 16.3 kB / 0.6688 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.5643, allocations: 4.781 kB / 0.6688 GB, free: 3.895 MB / 0.4981 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.154e-05/0.5644, allocations: 124.7 kB / 0.6689 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.5644, allocations: 6.484 kB / 0.6689 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.5644, allocations: 7.969 kB / 0.6689 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.5644, allocations: 5.219 kB / 0.6689 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5644, allocations: 1.156 kB / 0.6689 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5644, allocations: 4 kB / 0.6689 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.5648, allocations: 359.4 kB / 0.6692 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5648, allocations: 0 / 0.6692 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.5648, allocations: 3.656 kB / 0.6693 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5648, allocations: 5 kB / 0.6693 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.5648, allocations: 1.438 kB / 0.6693 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5648, allocations: 3.938 kB / 0.6693 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5648, allocations: 0.9688 kB / 0.6693 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.565, allocations: 183.3 kB / 0.6694 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.565, allocations: 83.72 kB / 0.6695 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.565, allocations: 4 kB / 0.6695 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.5651, allocations: 12.08 kB / 0.6695 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.5652, allocations: 7.016 kB / 0.6695 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.5652, allocations: 2.312 kB / 0.6695 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.78e-05/0.5652, allocations: 84.47 kB / 0.6696 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5652, allocations: 3.938 kB / 0.6696 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002243/0.5654, allocations: 19.16 kB / 0.6696 GB, free: 3.023 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.451e-05/0.5655, allocations: 99.31 kB / 0.6697 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.5657, allocations: 53.02 kB / 0.6698 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5657, allocations: 0 / 0.6698 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.494e-05/0.5658, allocations: 25.19 kB / 0.6698 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.5661, allocations: 21.14 kB / 0.6698 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.5666, allocations: 162.9 kB / 0.67 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.5667, allocations: 0.6869 MB / 0.6707 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.28e-05/0.5668, allocations: 3.375 kB / 0.6707 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.5668, allocations: 11.53 kB / 0.6707 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.5668, allocations: 0 / 0.6707 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of Templates: time 0.003912/0.5707, allocations: 0.7705 MB / 0.6714 GB, free: 1.645 MB / 0.4981 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)