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.001343/0.001343, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7294/0.7294, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 64.66 kB / 0.5018 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.477/0.4784, allocations: 80.2 MB / 0.5801 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002925/0.4814, allocations: 1.457 MB / 0.5815 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007138/0.4821, allocations: 453.7 kB / 0.5819 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.4822, allocations: 4.75 kB / 0.5819 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.4822, allocations: 4.734 kB / 0.5819 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.4823, allocations: 6.219 kB / 0.5819 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.4825, allocations: 29.28 kB / 0.582 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.443e-05/0.4826, allocations: 51.34 kB / 0.582 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.4827, allocations: 15.95 kB / 0.582 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.4828, allocations: 26.83 kB / 0.5821 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.4829, allocations: 19.66 kB / 0.5821 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.4829, allocations: 4.031 kB / 0.5821 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.4829, allocations: 4.156 kB / 0.5821 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.4829, allocations: 12.64 kB / 0.5821 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.483, allocations: 25.14 kB / 0.5821 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.4831, allocations: 35.27 kB / 0.5822 GB, free: 3.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4831, allocations: 0.5 kB / 0.5822 GB, free: 3.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4831, allocations: 0.6094 kB / 0.5822 GB, free: 3.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.4831, allocations: 0.8438 kB / 0.5822 GB, free: 3.121 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.0004584/0.4836, allocations: 371.2 kB / 0.5825 GB, free: 2.746 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4836, allocations: 8.656 kB / 0.5825 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.4837, allocations: 8.484 kB / 0.5825 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.4838, allocations: 168.5 kB / 0.5827 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.4838, allocations: 3.188 kB / 0.5827 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.4838, allocations: 12.41 kB / 0.5827 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.4839, allocations: 58.47 kB / 0.5828 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.484, allocations: 4 kB / 0.5828 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.484, allocations: 1.875 kB / 0.5828 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.484, allocations: 0.7812 kB / 0.5828 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.447e-05/0.4841, allocations: 26.03 kB / 0.5828 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.4845, allocations: 311.8 kB / 0.5831 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.4847, allocations: 57.55 kB / 0.5831 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.4847, allocations: 22.81 kB / 0.5832 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.4847, allocations: 2.062 kB / 0.5832 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.4849, allocations: 76.81 kB / 0.5832 GB, free: 2.066 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.4849, allocations: 1.469 kB / 0.5832 GB, free: 2.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002232/0.4851, allocations: 99.81 kB / 0.5833 GB, free: 2.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.4852, allocations: 62.11 kB / 0.5834 GB, free: 1.941 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.4853, allocations: 104.2 kB / 0.5835 GB, free: 1.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.4853, allocations: 26.73 kB / 0.5835 GB, free: 1.809 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.4853, allocations: 91.39 kB / 0.5836 GB, free: 1.719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.4853, allocations: 16.34 kB / 0.5836 GB, free: 1.707 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.4854, allocations: 28.3 kB / 0.5837 GB, free: 1.684 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.4854, allocations: 319.1 kB / 0.584 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.747e-05/0.4855, allocations: 19.77 kB / 0.584 GB, free: 1.359 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.155e-05/0.4855, allocations: 44.33 kB / 0.584 GB, free: 1.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.199e-05/0.4856, allocations: 69.14 kB / 0.5841 GB, free: 1.266 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4856, allocations: 0.6875 kB / 0.5841 GB, free: 1.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001306/0.4858, allocations: 101.6 kB / 0.5842 GB, free: 1.203 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4858, allocations: 5.062 kB / 0.5842 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4858, allocations: 1.766 kB / 0.5842 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4858, allocations: 6.5 kB / 0.5842 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/0.4859, allocations: 9.531 kB / 0.5842 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.4859, allocations: 6.094 kB / 0.5842 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.486, allocations: 10.12 kB / 0.5842 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.486, allocations: 7.094 kB / 0.5842 GB, free: 1.188 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.634e-05/0.4861, allocations: 127.5 kB / 0.5844 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.4861, allocations: 7.359 kB / 0.5844 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.4861, allocations: 13.31 kB / 0.5844 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4861, allocations: 5.5 kB / 0.5844 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4861, allocations: 0.75 kB / 0.5844 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.4861, allocations: 1.188 kB / 0.5844 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.4865, allocations: 356.4 kB / 0.5847 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4865, allocations: 0 / 0.5847 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.4865, allocations: 4.188 kB / 0.5847 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.4865, allocations: 1.5 kB / 0.5847 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.4865, allocations: 5.969 kB / 0.5847 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4866, allocations: 8.594 kB / 0.5847 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4866, allocations: 0 / 0.5847 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.4867, allocations: 183.4 kB / 0.5849 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.4867, allocations: 79.64 kB / 0.585 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.4868, allocations: 2 kB / 0.585 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.4868, allocations: 13.42 kB / 0.585 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.4869, allocations: 9.828 kB / 0.585 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.4869, allocations: 8.312 kB / 0.585 GB, free: 444 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.16e-05/0.487, allocations: 87.52 kB / 0.5851 GB, free: 360 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.487, allocations: 0 / 0.5851 GB, free: 360 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.4872, allocations: 12.34 kB / 0.5851 GB, free: 360 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 8.555e-05/0.4873, allocations: 100.7 kB / 0.5852 GB, free: 264 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.4874, allocations: 55.27 kB / 0.5853 GB, free: 248 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4875, allocations: 1.656 kB / 0.5853 GB, free: 248 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.721e-05/0.4875, allocations: 27.27 kB / 0.5853 GB, free: 240 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.4878, allocations: 14.42 kB / 0.5853 GB, free: 232 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.4882, allocations: 152.8 kB / 0.5855 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.4884, allocations: 0.6858 MB / 0.5861 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.32e-05/0.4885, allocations: 9.359 kB / 0.5861 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.4885, allocations: 11.25 kB / 0.5861 GB, free: 15.4 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4885, allocations: 0 / 0.5861 GB, free: 15.4 MB / 446.1 MB Notification: Performance of Templates: time 0.00323/0.4918, allocations: 0.7634 MB / 0.5869 GB, free: 15.33 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)