Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001363/0.001364, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.484/1.484, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8608/0.8608, allocations: 132.2 MB / 423.2 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.91 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.4633, allocations: 80.18 MB / 0.5807 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003122/0.4664, allocations: 1.471 MB / 0.5822 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.4671, allocations: 449 kB / 0.5826 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.4673, allocations: 1.156 kB / 0.5826 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.4674, allocations: 5.188 kB / 0.5826 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.4675, allocations: 9.359 kB / 0.5826 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.4676, allocations: 27.09 kB / 0.5826 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.405e-05/0.4677, allocations: 59.47 kB / 0.5827 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.4679, allocations: 9.844 kB / 0.5827 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.4679, allocations: 19.58 kB / 0.5827 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.468, allocations: 21.42 kB / 0.5827 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.468, allocations: 4.719 kB / 0.5827 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.4681, allocations: 5.531 kB / 0.5827 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.4681, allocations: 13.44 kB / 0.5828 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.355e-05/0.4681, allocations: 27.52 kB / 0.5828 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.381e-05/0.4682, allocations: 34.33 kB / 0.5828 GB, free: 25.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4682, allocations: 5.031 kB / 0.5828 GB, free: 25.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4683, allocations: 0 / 0.5828 GB, free: 25.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4683, allocations: 1.062 kB / 0.5828 GB, free: 25.89 MB / 446.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.0006053/0.4689, allocations: 369.1 kB / 0.5832 GB, free: 25.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.4689, allocations: 8.781 kB / 0.5832 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.469, allocations: 3.656 kB / 0.5832 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.4691, allocations: 171.7 kB / 0.5834 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4691, allocations: 7.203 kB / 0.5834 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.4691, allocations: 5 kB / 0.5834 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.4692, allocations: 56.72 kB / 0.5834 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4693, allocations: 0 / 0.5834 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4693, allocations: 5.062 kB / 0.5834 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4693, allocations: 2.281 kB / 0.5834 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.775e-05/0.4694, allocations: 30.09 kB / 0.5835 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.4699, allocations: 311.4 kB / 0.5838 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.951e-05/0.47, allocations: 54.62 kB / 0.5838 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.47, allocations: 29.06 kB / 0.5838 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.4701, allocations: 1.438 kB / 0.5838 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.4702, allocations: 69.61 kB / 0.5839 GB, free: 24.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.4702, allocations: 0.625 kB / 0.5839 GB, free: 24.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002858/0.4705, allocations: 100.9 kB / 0.584 GB, free: 24.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.4706, allocations: 55.94 kB / 0.5841 GB, free: 24.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.82e-05/0.4706, allocations: 108.5 kB / 0.5842 GB, free: 24.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.4706, allocations: 30.83 kB / 0.5842 GB, free: 24.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.4707, allocations: 90.92 kB / 0.5843 GB, free: 24.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.4707, allocations: 19.17 kB / 0.5843 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.4707, allocations: 27.34 kB / 0.5843 GB, free: 24.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.4709, allocations: 324.7 kB / 0.5846 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.524e-05/0.4709, allocations: 13.81 kB / 0.5846 GB, free: 24.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.4709, allocations: 45.89 kB / 0.5847 GB, free: 24.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.199e-05/0.471, allocations: 73.62 kB / 0.5848 GB, free: 23.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.471, allocations: 0 / 0.5848 GB, free: 23.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001316/0.4712, allocations: 102.6 kB / 0.5848 GB, free: 23.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4712, allocations: 8.094 kB / 0.5849 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4712, allocations: 1.281 kB / 0.5849 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4712, allocations: 3.25 kB / 0.5849 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.4713, allocations: 12.88 kB / 0.5849 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4713, allocations: 0.875 kB / 0.5849 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.4714, allocations: 9.078 kB / 0.5849 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.4714, allocations: 9.141 kB / 0.5849 GB, free: 23.88 MB / 446.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 7.098e-05/0.4715, allocations: 129.2 kB / 0.585 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.4715, allocations: 6.469 kB / 0.585 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.4715, allocations: 8.688 kB / 0.585 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4716, allocations: 6.438 kB / 0.585 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4716, allocations: 0.5938 kB / 0.585 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4716, allocations: 3.984 kB / 0.585 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.472, allocations: 358.2 kB / 0.5854 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.472, allocations: 3.938 kB / 0.5854 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.006e-05/0.4721, allocations: 3.531 kB / 0.5854 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4721, allocations: 1.375 kB / 0.5854 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4721, allocations: 1.375 kB / 0.5854 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.4721, allocations: 5.906 kB / 0.5854 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4721, allocations: 0.8438 kB / 0.5854 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.4723, allocations: 183.6 kB / 0.5856 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.4723, allocations: 81.05 kB / 0.5857 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.4723, allocations: 0 / 0.5857 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.4724, allocations: 15.7 kB / 0.5857 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.4725, allocations: 12.92 kB / 0.5857 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.4725, allocations: 2.094 kB / 0.5857 GB, free: 23.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.816e-05/0.4725, allocations: 84.38 kB / 0.5858 GB, free: 23.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4725, allocations: 0.5 kB / 0.5858 GB, free: 23.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.4728, allocations: 16.44 kB / 0.5858 GB, free: 23.01 MB / 446.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.654e-05/0.4729, allocations: 103.7 kB / 0.5859 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.473, allocations: 59.11 kB / 0.5859 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.473, allocations: 0 / 0.5859 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/0.4731, allocations: 24.92 kB / 0.586 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.4734, allocations: 13.52 kB / 0.586 GB, free: 22.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.4738, allocations: 163.9 kB / 0.5861 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.4739, allocations: 0.6836 MB / 0.5868 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.4739, allocations: 15.86 kB / 0.5868 GB, free: 22.01 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4739, allocations: 0 / 0.5868 GB, free: 22.01 MB / 446.1 MB Notification: Performance of Templates: time 0.002758/0.4767, allocations: 0.8577 MB / 0.5876 GB, free: 21.61 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)