Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009551/0.0009551, allocations: 106.8 kB / 16.36 MB, free: 5.875 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.0009547/0.0009548, allocations: 199.6 kB / 17.3 MB, free: 5.516 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.244/1.244, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7516/0.7516, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 0.5067 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3208, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002538/0.3234, allocations: 1.464 MB / 0.5872 GB, free: 24.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006182/0.324, allocations: 454.8 kB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.3241, allocations: 1.281 kB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.3241, allocations: 3.938 kB / 0.5876 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.168e-05/0.3242, allocations: 6.094 kB / 0.5876 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.3244, allocations: 27.84 kB / 0.5877 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.103e-05/0.3245, allocations: 54.12 kB / 0.5877 GB, free: 24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3246, allocations: 13.14 kB / 0.5877 GB, free: 24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.3246, allocations: 24.64 kB / 0.5877 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.3247, allocations: 22.11 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3247, allocations: 3.875 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.3247, allocations: 4.812 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.3248, allocations: 11.52 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.3248, allocations: 25.58 kB / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.903e-05/0.3249, allocations: 40.16 kB / 0.5878 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3249, allocations: 0 / 0.5878 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3249, allocations: 0.625 kB / 0.5878 GB, free: 23.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3249, allocations: 1.094 kB / 0.5878 GB, free: 23.91 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.0004181/0.3254, allocations: 361.6 kB / 0.5882 GB, free: 23.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3254, allocations: 12.58 kB / 0.5882 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.3254, allocations: 11.66 kB / 0.5882 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.68e-05/0.3255, allocations: 173 kB / 0.5884 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3256, allocations: 6.094 kB / 0.5884 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.3256, allocations: 5.531 kB / 0.5884 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.3257, allocations: 59.72 kB / 0.5884 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3257, allocations: 1.844 kB / 0.5885 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.3257, allocations: 1.406 kB / 0.5885 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.3258, allocations: 1.281 kB / 0.5885 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.812e-05/0.3258, allocations: 32.94 kB / 0.5885 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.3262, allocations: 300.2 kB / 0.5888 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.259e-05/0.3263, allocations: 58.06 kB / 0.5888 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.3264, allocations: 33.47 kB / 0.5889 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.3264, allocations: 1.344 kB / 0.5889 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.3265, allocations: 68.98 kB / 0.5889 GB, free: 22.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.3266, allocations: 1.719 kB / 0.5889 GB, free: 22.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001973/0.3268, allocations: 101.3 kB / 0.589 GB, free: 22.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.3268, allocations: 52.94 kB / 0.5891 GB, free: 22.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.975e-05/0.3268, allocations: 106.8 kB / 0.5892 GB, free: 22.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3269, allocations: 31.2 kB / 0.5892 GB, free: 22.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.3269, allocations: 89.09 kB / 0.5893 GB, free: 22.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.3269, allocations: 21.27 kB / 0.5893 GB, free: 22.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.327, allocations: 26.16 kB / 0.5893 GB, free: 22.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.097e-05/0.327, allocations: 323.8 kB / 0.5896 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.32e-05/0.3271, allocations: 18.25 kB / 0.5897 GB, free: 22.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.282e-05/0.3271, allocations: 45.98 kB / 0.5897 GB, free: 22.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.895e-05/0.3272, allocations: 71.81 kB / 0.5898 GB, free: 21.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3272, allocations: 1.312 kB / 0.5898 GB, free: 21.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001466/0.3274, allocations: 96.27 kB / 0.5899 GB, free: 21.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3274, allocations: 5.594 kB / 0.5899 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3274, allocations: 5.188 kB / 0.5899 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3274, allocations: 1.531 kB / 0.5899 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.3275, allocations: 10 kB / 0.5899 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3275, allocations: 6.469 kB / 0.5899 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.3276, allocations: 20.11 kB / 0.5899 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3276, allocations: 3.312 kB / 0.5899 GB, free: 21.89 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 5.94e-05/0.3276, allocations: 119.9 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.3277, allocations: 7.219 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.3277, allocations: 8.594 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3277, allocations: 1.25 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3277, allocations: 2.25 kB / 0.5901 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3277, allocations: 3.984 kB / 0.5901 GB, free: 21.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.328, allocations: 356.8 kB / 0.5904 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.328, allocations: 1.125 kB / 0.5904 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.3281, allocations: 10.53 kB / 0.5904 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3281, allocations: 1.688 kB / 0.5904 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3281, allocations: 1.469 kB / 0.5904 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3281, allocations: 5.312 kB / 0.5904 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3281, allocations: 5.25 kB / 0.5904 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.3282, allocations: 184.1 kB / 0.5906 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.3283, allocations: 79.86 kB / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.3283, allocations: 3.438 kB / 0.5907 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.3284, allocations: 11.95 kB / 0.5907 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.3284, allocations: 12.2 kB / 0.5907 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3284, allocations: 1.531 kB / 0.5907 GB, free: 21.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.113e-05/0.3284, allocations: 80.84 kB / 0.5908 GB, free: 21.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3284, allocations: 0 / 0.5908 GB, free: 21.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.3287, allocations: 16 kB / 0.5908 GB, free: 21.03 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.0001022/0.3288, allocations: 106.1 kB / 0.5909 GB, free: 20.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.3289, allocations: 52.7 kB / 0.5909 GB, free: 20.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3289, allocations: 0.5312 kB / 0.5909 GB, free: 20.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.631e-05/0.329, allocations: 36.8 kB / 0.591 GB, free: 20.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.3292, allocations: 9.344 kB / 0.591 GB, free: 20.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.3295, allocations: 141.5 kB / 0.5911 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.828e-05/0.3296, allocations: 0.6868 MB / 0.5918 GB, free: 19.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.612e-05/0.3296, allocations: 7.984 kB / 0.5918 GB, free: 19.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.3297, allocations: 15.38 kB / 0.5918 GB, free: 19.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3297, allocations: 0 / 0.5918 GB, free: 19.93 MB / 446.1 MB Notification: Performance of Templates: time 0.002497/0.3322, allocations: 0.7728 MB / 0.5926 GB, free: 19.18 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)