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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001392/0.001392, allocations: 198 kB / 16.25 MB, free: 6.621 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.288/1.288, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7238/0.7238, allocations: 132.2 MB / 422.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001192, allocations: 67.52 kB / 0.5013 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3917, allocations: 80.2 MB / 0.5796 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002429/0.3941, allocations: 1.526 MB / 0.5811 GB, free: 3.484 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000614/0.3948, allocations: 452.6 kB / 0.5815 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.3948, allocations: 0 / 0.5815 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.3949, allocations: 2.594 kB / 0.5815 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.18e-05/0.395, allocations: 5.391 kB / 0.5815 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.3951, allocations: 14.77 kB / 0.5815 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.718e-05/0.3952, allocations: 60.09 kB / 0.5816 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3953, allocations: 15.34 kB / 0.5816 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.3954, allocations: 18.11 kB / 0.5816 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.3955, allocations: 23.95 kB / 0.5816 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.3955, allocations: 8.156 kB / 0.5817 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.3955, allocations: 4.156 kB / 0.5817 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.3955, allocations: 9.094 kB / 0.5817 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.3956, allocations: 29.48 kB / 0.5817 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.3957, allocations: 35.56 kB / 0.5817 GB, free: 3.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3957, allocations: 1.25 kB / 0.5817 GB, free: 3.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3957, allocations: 0 / 0.5817 GB, free: 3.059 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3957, allocations: 0 / 0.5817 GB, free: 3.059 MB / 430.1 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.0004575/0.3962, allocations: 367.9 kB / 0.5821 GB, free: 2.688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3962, allocations: 9.062 kB / 0.5821 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.3963, allocations: 8.031 kB / 0.5821 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.622e-05/0.3964, allocations: 168.7 kB / 0.5823 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3964, allocations: 3.281 kB / 0.5823 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.3964, allocations: 4.328 kB / 0.5823 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.3965, allocations: 58.73 kB / 0.5823 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3965, allocations: 3.938 kB / 0.5823 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3965, allocations: 8.594 kB / 0.5823 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3966, allocations: 2.188 kB / 0.5823 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.324e-05/0.3966, allocations: 25.59 kB / 0.5824 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.3971, allocations: 304.9 kB / 0.5826 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.3972, allocations: 56.17 kB / 0.5827 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/0.3972, allocations: 24.03 kB / 0.5827 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.3972, allocations: 7.984 kB / 0.5827 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.3974, allocations: 81.59 kB / 0.5828 GB, free: 2.004 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3974, allocations: 1.344 kB / 0.5828 GB, free: 2.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002092/0.3976, allocations: 101.2 kB / 0.5829 GB, free: 1.949 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.3977, allocations: 56.81 kB / 0.583 GB, free: 1.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.832e-05/0.3977, allocations: 108.3 kB / 0.5831 GB, free: 1.777 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.3978, allocations: 26.83 kB / 0.5831 GB, free: 1.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.3978, allocations: 94.97 kB / 0.5832 GB, free: 1.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.3978, allocations: 16.62 kB / 0.5832 GB, free: 1.641 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.3979, allocations: 29.03 kB / 0.5832 GB, free: 1.617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.3979, allocations: 318.8 kB / 0.5835 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/0.398, allocations: 15.64 kB / 0.5835 GB, free: 1.297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.958e-05/0.398, allocations: 47.28 kB / 0.5836 GB, free: 1.258 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.293e-05/0.3981, allocations: 68.75 kB / 0.5837 GB, free: 1.203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3981, allocations: 0.8438 kB / 0.5837 GB, free: 1.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001249/0.3982, allocations: 97.03 kB / 0.5837 GB, free: 1.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3982, allocations: 6.875 kB / 0.5838 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.3983, allocations: 0 / 0.5838 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3983, allocations: 2.203 kB / 0.5838 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.3983, allocations: 13.19 kB / 0.5838 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3984, allocations: 2.453 kB / 0.5838 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.052e-05/0.3984, allocations: 14.58 kB / 0.5838 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3984, allocations: 2.625 kB / 0.5838 GB, free: 1.133 MB / 430.1 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,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 6.617e-05/0.3985, allocations: 127.8 kB / 0.5839 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.3985, allocations: 6.922 kB / 0.5839 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.3986, allocations: 9.828 kB / 0.5839 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3986, allocations: 1.125 kB / 0.5839 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3986, allocations: 0.6562 kB / 0.5839 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3986, allocations: 1.703 kB / 0.5839 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.3989, allocations: 363.6 kB / 0.5843 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.399, allocations: 0.9062 kB / 0.5843 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.399, allocations: 8.453 kB / 0.5843 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.399, allocations: 0.7188 kB / 0.5843 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.399, allocations: 1.891 kB / 0.5843 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.399, allocations: 4.812 kB / 0.5843 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.399, allocations: 4.062 kB / 0.5843 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.3992, allocations: 187 kB / 0.5845 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.3992, allocations: 83.5 kB / 0.5846 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3992, allocations: 1.938 kB / 0.5846 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.3993, allocations: 13.62 kB / 0.5846 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.3993, allocations: 7.453 kB / 0.5846 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.3994, allocations: 2.219 kB / 0.5846 GB, free: 388 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.435e-05/0.3994, allocations: 85.14 kB / 0.5847 GB, free: 308 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3994, allocations: 0 / 0.5847 GB, free: 308 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.3996, allocations: 15.81 kB / 0.5847 GB, free: 304 kB / 430.1 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.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 7.519e-05/0.3997, allocations: 98.41 kB / 0.5848 GB, free: 208 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.3998, allocations: 62.94 kB / 0.5848 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3999, allocations: 0 / 0.5848 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/0.3999, allocations: 24.25 kB / 0.5848 GB, free: 180 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.4002, allocations: 15.11 kB / 0.5849 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.4005, allocations: 168.8 kB / 0.585 GB, free: 32 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.4009, allocations: 0.6842 MB / 0.5857 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.076e-05/0.4009, allocations: 5.266 kB / 0.5857 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.4009, allocations: 16 kB / 0.5857 GB, free: 15.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4009, allocations: 3.938 kB / 0.5857 GB, free: 15.32 MB / 446.1 MB Notification: Performance of Templates: time 0.00287/0.4038, allocations: 0.7215 MB / 0.5864 GB, free: 15.25 MB / 446.1 MB 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)