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.001206/0.001206, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001204/0.001204, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8476/0.8476, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 55.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3711, allocations: 80.18 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002461/0.3736, allocations: 1.477 MB / 0.5829 GB, free: 26.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006047/0.3742, allocations: 453.7 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.3743, allocations: 1.812 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.3743, allocations: 3.938 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.25e-05/0.3744, allocations: 10.27 kB / 0.5834 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.3745, allocations: 19.67 kB / 0.5834 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.095e-05/0.3746, allocations: 61.3 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3748, allocations: 9.688 kB / 0.5835 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.998e-05/0.3748, allocations: 21.33 kB / 0.5835 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.3749, allocations: 24.78 kB / 0.5835 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3749, allocations: 5.344 kB / 0.5835 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.3749, allocations: 4.156 kB / 0.5835 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.375, allocations: 8.25 kB / 0.5835 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.375, allocations: 25.89 kB / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.823e-05/0.3751, allocations: 43.56 kB / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3751, allocations: 0 / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3751, allocations: 0 / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3751, allocations: 2.281 kB / 0.5836 GB, free: 25.98 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.0004436/0.3756, allocations: 367 kB / 0.5839 GB, free: 25.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3756, allocations: 15.25 kB / 0.5839 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.3757, allocations: 3.594 kB / 0.584 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.382e-05/0.3758, allocations: 166.8 kB / 0.5841 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3758, allocations: 6.875 kB / 0.5841 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.3758, allocations: 4.125 kB / 0.5841 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.3759, allocations: 75.28 kB / 0.5842 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3759, allocations: 0 / 0.5842 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.376, allocations: 1.375 kB / 0.5842 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.376, allocations: 1.438 kB / 0.5842 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.625e-05/0.376, allocations: 25.86 kB / 0.5842 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.3765, allocations: 302.3 kB / 0.5845 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.3766, allocations: 52.72 kB / 0.5846 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.3766, allocations: 30.19 kB / 0.5846 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.3767, allocations: 0.75 kB / 0.5846 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.3768, allocations: 82.7 kB / 0.5847 GB, free: 24.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3768, allocations: 0 / 0.5847 GB, free: 24.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002078/0.377, allocations: 100.4 kB / 0.5848 GB, free: 24.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3771, allocations: 55.39 kB / 0.5848 GB, free: 24.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.525e-05/0.3771, allocations: 100.4 kB / 0.5849 GB, free: 24.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3771, allocations: 33.52 kB / 0.5849 GB, free: 24.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.3772, allocations: 88.81 kB / 0.585 GB, free: 24.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.3772, allocations: 15.34 kB / 0.585 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.3773, allocations: 32.92 kB / 0.5851 GB, free: 24.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.3773, allocations: 319.4 kB / 0.5854 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.107e-05/0.3773, allocations: 19.64 kB / 0.5854 GB, free: 24.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.274e-05/0.3774, allocations: 50.58 kB / 0.5854 GB, free: 24.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.836e-05/0.3775, allocations: 60.94 kB / 0.5855 GB, free: 24.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3775, allocations: 0.6562 kB / 0.5855 GB, free: 24.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001266/0.3776, allocations: 95.11 kB / 0.5856 GB, free: 24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3776, allocations: 13.34 kB / 0.5856 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3776, allocations: 2.844 kB / 0.5856 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3777, allocations: 2.812 kB / 0.5856 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.283e-05/0.3777, allocations: 11.17 kB / 0.5856 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3777, allocations: 2.562 kB / 0.5856 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.3778, allocations: 12.03 kB / 0.5856 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.3778, allocations: 11.72 kB / 0.5856 GB, free: 23.97 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 6.228e-05/0.3779, allocations: 128.1 kB / 0.5858 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.3779, allocations: 9.891 kB / 0.5858 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.3779, allocations: 10.03 kB / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.378, allocations: 1.875 kB / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.378, allocations: 1.062 kB / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.378, allocations: 0 / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.3783, allocations: 357.6 kB / 0.5861 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3783, allocations: 1.094 kB / 0.5861 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.3783, allocations: 7.656 kB / 0.5861 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3783, allocations: 0 / 0.5861 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3783, allocations: 5.453 kB / 0.5861 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3784, allocations: 4.656 kB / 0.5862 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3784, allocations: 1.438 kB / 0.5862 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.3785, allocations: 182.3 kB / 0.5863 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.3785, allocations: 82.41 kB / 0.5864 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.3785, allocations: 1.562 kB / 0.5864 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/0.3786, allocations: 7.062 kB / 0.5864 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.3787, allocations: 13.92 kB / 0.5864 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3787, allocations: 1.375 kB / 0.5864 GB, free: 23.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.012e-05/0.3787, allocations: 84.23 kB / 0.5865 GB, free: 23.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3787, allocations: 0 / 0.5865 GB, free: 23.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.379, allocations: 18.97 kB / 0.5865 GB, free: 23.11 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 7.591e-05/0.3791, allocations: 100.4 kB / 0.5866 GB, free: 23.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.3792, allocations: 53.7 kB / 0.5867 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3792, allocations: 1.281 kB / 0.5867 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.146e-05/0.3793, allocations: 28.95 kB / 0.5867 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3796, allocations: 16.14 kB / 0.5867 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.3799, allocations: 139.4 kB / 0.5869 GB, free: 22.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.38, allocations: 0.6884 MB / 0.5875 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.57e-05/0.38, allocations: 8.062 kB / 0.5875 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.3801, allocations: 11.75 kB / 0.5875 GB, free: 22.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3801, allocations: 0 / 0.5875 GB, free: 22.14 MB / 446.1 MB Notification: Performance of Templates: time 0.003063/0.3831, allocations: 0.7695 MB / 0.5883 GB, free: 21.78 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)