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/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_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_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.01132/0.01132, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.814/0.814, allocations: 135.2 MB / 151 MB, free: 13.82 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.675/1.675, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 94.98 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003793, allocations: 11.98 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.5058, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.6716, allocations: 112 MB / 0.7589 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.6719, allocations: 75.95 kB / 0.759 GB, free: 3.879 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004469/0.6764, allocations: 1.412 MB / 0.7604 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.815e-06/0.6764, allocations: 0 / 0.7604 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.6764, allocations: 0 / 0.7604 GB, free: 2.465 MB / 0.5261 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.0005105/0.677, allocations: 363.2 kB / 0.7607 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.677, allocations: 8.031 kB / 0.7607 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.6771, allocations: 34.56 kB / 0.7608 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.6771, allocations: 11.91 kB / 0.7608 GB, free: 2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.6773, allocations: 171 kB / 0.761 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.6773, allocations: 7.938 kB / 0.761 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.6773, allocations: 8 kB / 0.761 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.6775, allocations: 57.67 kB / 0.761 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6775, allocations: 0 / 0.761 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.6775, allocations: 0 / 0.761 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.6775, allocations: 4 kB / 0.761 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.869e-05/0.6776, allocations: 19.98 kB / 0.761 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.6782, allocations: 308.7 kB / 0.7613 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.6783, allocations: 54.56 kB / 0.7614 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.6784, allocations: 0 / 0.7614 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.6786, allocations: 87.55 kB / 0.7615 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 4.208e-06/0.6786, allocations: 4 kB / 0.7615 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0002492/0.6788, allocations: 97.61 kB / 0.7616 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.6789, allocations: 59.73 kB / 0.7616 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/0.679, allocations: 100.9 kB / 0.7617 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.679, allocations: 33.7 kB / 0.7618 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.6791, allocations: 80.14 kB / 0.7618 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.6792, allocations: 31.58 kB / 0.7619 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.6792, allocations: 4 kB / 0.7619 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.6793, allocations: 314.8 kB / 0.7622 GB, free: 436 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.6794, allocations: 20 kB / 0.7622 GB, free: 416 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.646e-05/0.6795, allocations: 47.36 kB / 0.7622 GB, free: 356 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.629e-05/0.6795, allocations: 23.98 kB / 0.7623 GB, free: 332 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6795, allocations: 0 / 0.7623 GB, free: 332 kB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000143/0.6797, allocations: 89.62 kB / 0.7623 GB, free: 236 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6797, allocations: 4 kB / 0.7623 GB, free: 232 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6797, allocations: 4.031 kB / 0.7624 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.6797, allocations: 4 kB / 0.7624 GB, free: 224 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/0.6798, allocations: 15.92 kB / 0.7624 GB, free: 208 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6798, allocations: 0 / 0.7624 GB, free: 208 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.6799, allocations: 15.86 kB / 0.7624 GB, free: 192 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.6799, allocations: 4 kB / 0.7624 GB, free: 188 kB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.6801, allocations: 122.5 kB / 0.7625 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.6801, allocations: 4 kB / 0.7625 GB, free: 52 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.6801, allocations: 11.97 kB / 0.7625 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.6801, allocations: 0 / 0.7625 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6801, allocations: 0 / 0.7625 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6801, allocations: 0 / 0.7625 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.6806, allocations: 358.4 kB / 0.7629 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6806, allocations: 0 / 0.7629 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.6807, allocations: 15.86 kB / 0.7629 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6807, allocations: 8 kB / 0.7629 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.6807, allocations: 0 / 0.7629 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6807, allocations: 0 / 0.7629 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6807, allocations: 3.953 kB / 0.7629 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.6809, allocations: 179.6 kB / 0.7631 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.6809, allocations: 85.05 kB / 0.7631 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.681, allocations: 7.938 kB / 0.7632 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/0.6811, allocations: 11.98 kB / 0.7632 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.6811, allocations: 16.22 kB / 0.7632 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.6811, allocations: 4 kB / 0.7632 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.555e-05/0.6812, allocations: 83.27 kB / 0.7633 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6812, allocations: 0 / 0.7633 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002264/0.6814, allocations: 12 kB / 0.7633 GB, free: 15.18 MB / 0.5417 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 () * 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 (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.0004951/0.6819, allocations: 0.7085 MB / 0.764 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.6821, allocations: 59.97 kB / 0.764 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6821, allocations: 4 kB / 0.764 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.018e-05/0.6822, allocations: 27.94 kB / 0.7641 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.6824, allocations: 10.06 kB / 0.7641 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.6834, allocations: 0.9173 MB / 0.765 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.6838, allocations: 0.6887 MB / 0.7656 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.6838, allocations: 7.984 kB / 0.7656 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.6838, allocations: 15.44 kB / 0.7657 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of SimCode: time 4.1e-07/0.6838, allocations: 0 / 0.7657 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.6968, allocations: 1.458 MB / 0.7671 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/0.6971, allocations: 177.6 kB / 0.7672 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.314, allocations: 0 / 0.7672 GB, free: 11.05 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)