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.001114/0.001115, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001615/0.001615, allocations: 172.7 kB / 16.26 MB, free: 6.66 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.654/1.654, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8179/0.8179, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004877, allocations: 8.719 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5296/0.5301, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00234/0.5325, allocations: 1.188 MB / 0.5848 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008291/0.5334, allocations: 442.4 kB / 0.5852 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.5334, allocations: 0.8438 kB / 0.5852 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.5335, allocations: 0.5625 kB / 0.5852 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.549e-05/0.5336, allocations: 8.344 kB / 0.5853 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.5338, allocations: 24.31 kB / 0.5853 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.048e-05/0.5339, allocations: 54.28 kB / 0.5853 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.534, allocations: 15.23 kB / 0.5853 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.419e-05/0.5341, allocations: 13.27 kB / 0.5854 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.5341, allocations: 18.27 kB / 0.5854 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.5342, allocations: 2.188 kB / 0.5854 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.5342, allocations: 2.312 kB / 0.5854 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.5342, allocations: 12.72 kB / 0.5854 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.5343, allocations: 47.95 kB / 0.5854 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.5344, allocations: 31.3 kB / 0.5855 GB, free: 2.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5344, allocations: 1.219 kB / 0.5855 GB, free: 2.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5344, allocations: 0.7031 kB / 0.5855 GB, free: 2.734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.5344, allocations: 0 / 0.5855 GB, free: 2.734 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.0005433/0.535, allocations: 364 kB / 0.5858 GB, free: 2.367 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.535, allocations: 8.344 kB / 0.5858 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.5351, allocations: 9.469 kB / 0.5858 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.5352, allocations: 167.9 kB / 0.586 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.5352, allocations: 2.781 kB / 0.586 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.5352, allocations: 9.094 kB / 0.586 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.5354, allocations: 65.47 kB / 0.5861 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5354, allocations: 0.6562 kB / 0.5861 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.5354, allocations: 1.281 kB / 0.5861 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.5354, allocations: 1 kB / 0.5861 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.5355, allocations: 26.33 kB / 0.5861 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.536, allocations: 317.2 kB / 0.5864 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.5361, allocations: 54.19 kB / 0.5864 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.078e-05/0.5362, allocations: 31 kB / 0.5865 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.5362, allocations: 0 / 0.5865 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.5364, allocations: 70.27 kB / 0.5865 GB, free: 1.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.5364, allocations: 4 kB / 0.5865 GB, free: 1.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002688/0.5367, allocations: 100.6 kB / 0.5866 GB, free: 1.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.5367, allocations: 59.08 kB / 0.5867 GB, free: 1.566 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.5368, allocations: 106.6 kB / 0.5868 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.5368, allocations: 28.72 kB / 0.5868 GB, free: 1.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.5368, allocations: 86.48 kB / 0.5869 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.5369, allocations: 20.25 kB / 0.5869 GB, free: 1.328 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.5369, allocations: 20.66 kB / 0.587 GB, free: 1.309 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.438e-05/0.537, allocations: 326.6 kB / 0.5873 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.537, allocations: 19.53 kB / 0.5873 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.024e-05/0.5371, allocations: 47.89 kB / 0.5873 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.884e-05/0.5372, allocations: 69.73 kB / 0.5874 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5372, allocations: 384 / 0.5874 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001516/0.5374, allocations: 97.27 kB / 0.5875 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5374, allocations: 6.75 kB / 0.5875 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5374, allocations: 0 / 0.5875 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.5374, allocations: 6.531 kB / 0.5875 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.949e-05/0.5375, allocations: 9.031 kB / 0.5875 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.5375, allocations: 5.812 kB / 0.5875 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.074e-05/0.5376, allocations: 17.03 kB / 0.5875 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.5376, allocations: 3.062 kB / 0.5875 GB, free: 0.8086 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 8.139e-05/0.5377, allocations: 124.8 kB / 0.5877 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.5377, allocations: 7.875 kB / 0.5877 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.5378, allocations: 8.766 kB / 0.5877 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5378, allocations: 1.406 kB / 0.5877 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5378, allocations: 0.6562 kB / 0.5877 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5378, allocations: 1.312 kB / 0.5877 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.5382, allocations: 363.9 kB / 0.588 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5382, allocations: 4.906 kB / 0.588 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.5383, allocations: 8.25 kB / 0.588 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5383, allocations: 1.188 kB / 0.588 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.5383, allocations: 0.75 kB / 0.588 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5383, allocations: 4.625 kB / 0.588 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5383, allocations: 1.5 kB / 0.588 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.5385, allocations: 181.7 kB / 0.5882 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.5385, allocations: 80.83 kB / 0.5883 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.5386, allocations: 9 kB / 0.5883 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/0.5387, allocations: 12.42 kB / 0.5883 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.5387, allocations: 6.812 kB / 0.5883 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.5387, allocations: 3.297 kB / 0.5883 GB, free: 68 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.994e-05/0.5388, allocations: 88.22 kB / 0.5884 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5388, allocations: 0 / 0.5884 GB, free: 15.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.5391, allocations: 15.89 kB / 0.5884 GB, free: 15.98 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 0.0001215/0.5392, allocations: 99.56 kB / 0.5885 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.5394, allocations: 62.56 kB / 0.5886 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5394, allocations: 0 / 0.5886 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.837e-05/0.5394, allocations: 26.88 kB / 0.5886 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.5397, allocations: 11.84 kB / 0.5886 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.5401, allocations: 159.3 kB / 0.5888 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.5404, allocations: 0.6851 MB / 0.5894 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.177e-05/0.5404, allocations: 5.969 kB / 0.5894 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.5405, allocations: 11.83 kB / 0.5894 GB, free: 15.01 MB / 446.1 MB Notification: Performance of SimCode: time 2.614e-06/0.5405, allocations: 0 / 0.5894 GB, free: 15.01 MB / 446.1 MB Notification: Performance of Templates: time 0.003129/0.5436, allocations: 0.6799 MB / 0.5901 GB, free: 14.93 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)