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.0105/0.0105, 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.8448/0.8448, allocations: 135.2 MB / 151 MB, free: 13.81 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.87/1.87, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.001305/0.001305, allocations: 96.88 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005199/0.0005197, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5568/0.5573, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.7359, allocations: 112 MB / 0.7589 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004476/0.7364, allocations: 75.94 kB / 0.759 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006825/0.7433, allocations: 1.408 MB / 0.7604 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.442e-06/0.7434, allocations: 0 / 0.7604 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.7434, allocations: 0 / 0.7604 GB, free: 2.441 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.0007927/0.7442, allocations: 367.2 kB / 0.7607 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.314e-05/0.7443, allocations: 12.03 kB / 0.7608 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.917e-05/0.7444, allocations: 30.56 kB / 0.7608 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.7444, allocations: 7.906 kB / 0.7608 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.7447, allocations: 171 kB / 0.761 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.7447, allocations: 8 kB / 0.761 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.7448, allocations: 4 kB / 0.761 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.745, allocations: 53.62 kB / 0.761 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.745, allocations: 0 / 0.761 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.745, allocations: 7.984 kB / 0.761 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.745, allocations: 0 / 0.761 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.7452, allocations: 23.98 kB / 0.761 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008244/0.746, allocations: 308.7 kB / 0.7613 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.7462, allocations: 50.56 kB / 0.7614 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.7462, allocations: 4.031 kB / 0.7614 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/0.7466, allocations: 79.59 kB / 0.7615 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.405e-06/0.7466, allocations: 3.938 kB / 0.7615 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0004262/0.747, allocations: 101.5 kB / 0.7616 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.7471, allocations: 63.34 kB / 0.7616 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.7473, allocations: 96.91 kB / 0.7617 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.7473, allocations: 29.7 kB / 0.7617 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.099e-05/0.7474, allocations: 92.11 kB / 0.7618 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.7475, allocations: 23.66 kB / 0.7619 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.7475, allocations: 4 kB / 0.7619 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002281/0.7478, allocations: 322.8 kB / 0.7622 GB, free: 408 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.7478, allocations: 12 kB / 0.7622 GB, free: 396 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.987e-05/0.7479, allocations: 43.42 kB / 0.7622 GB, free: 340 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.388e-05/0.748, allocations: 27.94 kB / 0.7623 GB, free: 312 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7481, allocations: 0 / 0.7623 GB, free: 312 kB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002351/0.7483, allocations: 93.61 kB / 0.7623 GB, free: 212 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.7483, allocations: 4 kB / 0.7623 GB, free: 208 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.7484, allocations: 4 kB / 0.7623 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.7484, allocations: 0 / 0.7623 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.7485, allocations: 11.98 kB / 0.7624 GB, free: 192 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.7485, allocations: 7.938 kB / 0.7624 GB, free: 184 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.238e-05/0.7486, allocations: 15.86 kB / 0.7624 GB, free: 168 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.7487, allocations: 4 kB / 0.7624 GB, free: 164 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.000158/0.7488, allocations: 118.6 kB / 0.7625 GB, free: 36 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.7489, allocations: 7.984 kB / 0.7625 GB, free: 28 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.7489, allocations: 7.969 kB / 0.7625 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.7489, allocations: 0 / 0.7625 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.749, allocations: 0 / 0.7625 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.749, allocations: 4 kB / 0.7625 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007226/0.7497, allocations: 366.4 kB / 0.7629 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7497, allocations: 0 / 0.7629 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.7498, allocations: 7.938 kB / 0.7629 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.7498, allocations: 3.938 kB / 0.7629 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.7498, allocations: 8.453 kB / 0.7629 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7498, allocations: 0 / 0.7629 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.7498, allocations: 3.953 kB / 0.7629 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.7501, allocations: 179.4 kB / 0.7631 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.7502, allocations: 96.94 kB / 0.7632 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.7503, allocations: 0 / 0.7632 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.7504, allocations: 4 kB / 0.7632 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.7505, allocations: 11.94 kB / 0.7632 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.7505, allocations: 8 kB / 0.7632 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.428e-05/0.7506, allocations: 87.53 kB / 0.7633 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7506, allocations: 0 / 0.7633 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002456/0.7508, allocations: 16 kB / 0.7633 GB, free: 15.15 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.0008168/0.7516, allocations: 0.7085 MB / 0.764 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.7519, allocations: 51.92 kB / 0.764 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7519, allocations: 0 / 0.764 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.079e-05/0.752, allocations: 27.92 kB / 0.764 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.7522, allocations: 8.062 kB / 0.7641 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.754, allocations: 0.9181 MB / 0.7649 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006699/0.7547, allocations: 0.6891 MB / 0.7656 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.917e-05/0.7548, allocations: 4 kB / 0.7656 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.894e-05/0.7549, allocations: 23.42 kB / 0.7656 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of SimCode: time 8.72e-07/0.7549, allocations: 0 / 0.7656 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.7729, allocations: 1.463 MB / 0.7671 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00031/0.7733, allocations: 187.6 kB / 0.7673 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.53, allocations: 0 / 0.7673 GB, free: 11.03 MB / 0.5417 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)