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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7195/0.7195, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008927/0.000893, allocations: 102.8 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.535e-05, allocations: 3.031 kB / 0.56 GB, free: 87.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1563, allocations: 82.29 MB / 0.6404 GB, free: 7.836 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5871/0.7434, allocations: 112 MB / 0.7498 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.7437, allocations: 78.48 kB / 0.7498 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004011/0.7477, allocations: 1.405 MB / 0.7512 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7477, allocations: 0 / 0.7512 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.7478, allocations: 4 kB / 0.7512 GB, free: 27.7 MB / 0.5105 GB 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.0003873/0.7482, allocations: 356 kB / 0.7515 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.7482, allocations: 7.688 kB / 0.7516 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.7483, allocations: 3.844 kB / 0.7516 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.7484, allocations: 170.9 kB / 0.7517 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.7484, allocations: 3.625 kB / 0.7517 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.7485, allocations: 6.125 kB / 0.7517 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.7486, allocations: 60.61 kB / 0.7518 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.7486, allocations: 0 / 0.7518 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.7486, allocations: 3.625 kB / 0.7518 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.7486, allocations: 3.812 kB / 0.7518 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.7487, allocations: 21.86 kB / 0.7518 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.7492, allocations: 298.9 kB / 0.7521 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.89e-05/0.7493, allocations: 60.78 kB / 0.7522 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.7494, allocations: 22.95 kB / 0.7522 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.7494, allocations: 0 / 0.7522 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.7495, allocations: 72.7 kB / 0.7522 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.7495, allocations: 11.78 kB / 0.7523 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001995/0.7498, allocations: 79.92 kB / 0.7523 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.7498, allocations: 55.36 kB / 0.7524 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.7499, allocations: 101.7 kB / 0.7525 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.7499, allocations: 29.02 kB / 0.7525 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.75, allocations: 101.3 kB / 0.7526 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.75, allocations: 15.31 kB / 0.7526 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.75, allocations: 3.688 kB / 0.7526 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.7501, allocations: 320.7 kB / 0.7529 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-05/0.7502, allocations: 17.94 kB / 0.7529 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.209e-05/0.7502, allocations: 37.41 kB / 0.753 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.775e-05/0.7502, allocations: 24.77 kB / 0.753 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7503, allocations: 0 / 0.753 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001166/0.7504, allocations: 92.47 kB / 0.7531 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.7504, allocations: 15.53 kB / 0.7531 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.7504, allocations: 48 / 0.7531 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.7504, allocations: 3.984 kB / 0.7531 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/0.7505, allocations: 17.62 kB / 0.7531 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.7505, allocations: 3.984 kB / 0.7531 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.7506, allocations: 13.3 kB / 0.7531 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.7506, allocations: 3.875 kB / 0.7532 GB, free: 26.01 MB / 0.5105 GB 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.826e-05/0.7507, allocations: 112.4 kB / 0.7533 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.7507, allocations: 7.906 kB / 0.7533 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.7507, allocations: 14.23 kB / 0.7533 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.7508, allocations: 0 / 0.7533 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7508, allocations: 0 / 0.7533 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.7508, allocations: 0 / 0.7533 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.7511, allocations: 361 kB / 0.7536 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7511, allocations: 0 / 0.7536 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.7512, allocations: 7.844 kB / 0.7536 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.7512, allocations: 192 / 0.7536 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.7512, allocations: 6.672 kB / 0.7536 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.7512, allocations: 3.938 kB / 0.7536 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7512, allocations: 3.953 kB / 0.7536 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.7513, allocations: 181.8 kB / 0.7538 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.7514, allocations: 81.05 kB / 0.7539 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.7514, allocations: 2.719 kB / 0.7539 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.7515, allocations: 14.36 kB / 0.7539 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.7515, allocations: 10.06 kB / 0.7539 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.7516, allocations: 3.438 kB / 0.7539 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.7516, allocations: 81.55 kB / 0.754 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7516, allocations: 0 / 0.754 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001967/0.7518, allocations: 14.88 kB / 0.754 GB, free: 25.25 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001111/0.7519, allocations: 104.8 kB / 0.7541 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.7521, allocations: 56.64 kB / 0.7542 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7521, allocations: 0 / 0.7542 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.7521, allocations: 22.53 kB / 0.7542 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.7523, allocations: 14.97 kB / 0.7542 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.7526, allocations: 93.02 kB / 0.7543 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.7528, allocations: 0.6876 MB / 0.755 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.7529, allocations: 10.59 kB / 0.755 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.7529, allocations: 11.31 kB / 0.755 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/0.7529, allocations: 0 / 0.755 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of Templates: time 0.002347/0.7553, allocations: 0.66 MB / 0.7556 GB, free: 24.3 MB / 0.5105 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)