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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 174.7 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.8378/0.8378, 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.685/1.685, allocations: 221.3 MB / 400.4 MB, free: 5.793 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.0009711/0.0009711, allocations: 82.09 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.434e-05/4.455e-05, allocations: 2.625 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1752, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6895/0.8648, allocations: 112 MB / 0.7499 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.8652, allocations: 73.69 kB / 0.7499 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006029/0.8712, allocations: 1.392 MB / 0.7513 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8713, allocations: 4 kB / 0.7513 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.8713, allocations: 3.875 kB / 0.7513 GB, free: 27.39 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.0005735/0.8719, allocations: 356.2 kB / 0.7516 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.8719, allocations: 11.78 kB / 0.7516 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.197e-05/0.872, allocations: 36.75 kB / 0.7517 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.8721, allocations: 7.781 kB / 0.7517 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.8723, allocations: 175.3 kB / 0.7519 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.8723, allocations: 7.688 kB / 0.7519 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.8724, allocations: 3.844 kB / 0.7519 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.8725, allocations: 53.33 kB / 0.7519 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.8726, allocations: 3.938 kB / 0.7519 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.8726, allocations: 3.25 kB / 0.7519 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.8726, allocations: 3.844 kB / 0.7519 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.8727, allocations: 24.89 kB / 0.7519 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.8734, allocations: 297 kB / 0.7522 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.8736, allocations: 58.05 kB / 0.7523 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.418e-05/0.8737, allocations: 23.11 kB / 0.7523 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.8737, allocations: 0 / 0.7523 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.8739, allocations: 75.75 kB / 0.7524 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 2.324e-06/0.8739, allocations: 3.938 kB / 0.7524 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002952/0.8742, allocations: 89.11 kB / 0.7525 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.8743, allocations: 58.02 kB / 0.7525 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.8744, allocations: 96.25 kB / 0.7526 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.8745, allocations: 37.33 kB / 0.7527 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.8746, allocations: 90.64 kB / 0.7527 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.8746, allocations: 22.84 kB / 0.7528 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.8746, allocations: 2.812 kB / 0.7528 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8748, allocations: 316.9 kB / 0.7531 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.028e-05/0.8748, allocations: 16.91 kB / 0.7531 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.8749, allocations: 39.2 kB / 0.7531 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.278e-05/0.875, allocations: 18.62 kB / 0.7531 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.875, allocations: 4 kB / 0.7531 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002049/0.8752, allocations: 96.27 kB / 0.7532 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.8753, allocations: 7.844 kB / 0.7532 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.8753, allocations: 3.938 kB / 0.7532 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.8753, allocations: 288 / 0.7532 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.8754, allocations: 7.688 kB / 0.7533 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.8754, allocations: 7.797 kB / 0.7533 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.844e-05/0.8755, allocations: 10.55 kB / 0.7533 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.8756, allocations: 3.844 kB / 0.7533 GB, free: 25.66 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 0.0001082/0.8757, allocations: 124.3 kB / 0.7534 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.8757, allocations: 7.656 kB / 0.7534 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.8758, allocations: 9.031 kB / 0.7534 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.8758, allocations: 3.844 kB / 0.7534 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.8758, allocations: 0 / 0.7534 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.8758, allocations: 3.953 kB / 0.7534 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.8763, allocations: 359.9 kB / 0.7538 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8764, allocations: 4.062 kB / 0.7538 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.8764, allocations: 6.656 kB / 0.7538 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8764, allocations: 0 / 0.7538 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.8764, allocations: 0 / 0.7538 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.8764, allocations: 3.953 kB / 0.7538 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8765, allocations: 0 / 0.7538 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.8767, allocations: 190.1 kB / 0.754 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.692e-05/0.8768, allocations: 88.09 kB / 0.754 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.8768, allocations: 0 / 0.754 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.8769, allocations: 6.656 kB / 0.754 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.877, allocations: 14.38 kB / 0.7541 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.877, allocations: 3.812 kB / 0.7541 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.77e-05/0.8771, allocations: 79.16 kB / 0.7541 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8771, allocations: 0 / 0.7541 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003723/0.8775, allocations: 15.22 kB / 0.7542 GB, free: 24.9 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.0005908/0.8781, allocations: 0.7254 MB / 0.7549 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.8783, allocations: 51.52 kB / 0.7549 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8783, allocations: 0 / 0.7549 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.8784, allocations: 22.19 kB / 0.7549 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.8787, allocations: 21.19 kB / 0.7549 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.8793, allocations: 124.7 kB / 0.7551 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.8797, allocations: 0.6888 MB / 0.7557 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.91e-05/0.8797, allocations: 3.906 kB / 0.7557 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.8798, allocations: 17.17 kB / 0.7558 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.8798, allocations: 0 / 0.7558 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.897, allocations: 1.487 MB / 0.7572 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.8972, allocations: 160.7 kB / 0.7574 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.623, allocations: 0 / 0.7574 GB, free: 22.99 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)