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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.001521/0.001521, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.41/2.41, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9953/0.9953, allocations: 132.2 MB / 423.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005365/0.0005366, allocations: 8 kB / 0.5033 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9562/0.9568, allocations: 81.57 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00442/0.9613, allocations: 1.175 MB / 0.5841 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.9629, allocations: 429.7 kB / 0.5845 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.963, allocations: 4.656 kB / 0.5845 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.834e-05/0.9631, allocations: 2.844 kB / 0.5845 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.9633, allocations: 2.844 kB / 0.5845 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.9636, allocations: 20.58 kB / 0.5845 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.9638, allocations: 30.88 kB / 0.5846 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.9641, allocations: 14.42 kB / 0.5846 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.9642, allocations: 16.48 kB / 0.5846 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.9644, allocations: 22.03 kB / 0.5846 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.9644, allocations: 5.844 kB / 0.5846 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.471e-05/0.9645, allocations: 2.469 kB / 0.5846 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.9645, allocations: 4.406 kB / 0.5846 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.821e-05/0.9646, allocations: 35.25 kB / 0.5847 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.9648, allocations: 31.19 kB / 0.5847 GB, free: 2.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.9648, allocations: 3.938 kB / 0.5847 GB, free: 2.766 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.9648, allocations: 0 / 0.5847 GB, free: 2.766 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.9649, allocations: 0 / 0.5847 GB, free: 2.766 MB / 430.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.000953/0.9658, allocations: 356.8 kB / 0.585 GB, free: 2.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001001/0.9659, allocations: 9.688 kB / 0.5851 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.749e-05/0.966, allocations: 37.02 kB / 0.5851 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.302e-05/0.9661, allocations: 7.109 kB / 0.5851 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.9664, allocations: 171.3 kB / 0.5853 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.9664, allocations: 2.859 kB / 0.5853 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.9665, allocations: 4.906 kB / 0.5853 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.9667, allocations: 57.08 kB / 0.5853 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.9668, allocations: 0 / 0.5853 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.9668, allocations: 8.891 kB / 0.5853 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.9668, allocations: 1.969 kB / 0.5853 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.967, allocations: 21.84 kB / 0.5854 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.9681, allocations: 318.1 kB / 0.5857 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.9684, allocations: 59.67 kB / 0.5857 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.9684, allocations: 1.547 kB / 0.5857 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004136/0.9688, allocations: 76.42 kB / 0.5858 GB, free: 1.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 2.455e-06/0.9689, allocations: 0.8125 kB / 0.5858 GB, free: 1.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005196/0.9694, allocations: 104.3 kB / 0.5859 GB, free: 1.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.9695, allocations: 54.08 kB / 0.5859 GB, free: 1.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.9697, allocations: 107.2 kB / 0.586 GB, free: 1.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.9697, allocations: 31.14 kB / 0.5861 GB, free: 1.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.9698, allocations: 83.2 kB / 0.5861 GB, free: 1.348 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.9699, allocations: 21.12 kB / 0.5862 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/0.9699, allocations: 4 kB / 0.5862 GB, free: 1.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.97, allocations: 314.5 kB / 0.5865 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.9701, allocations: 19.34 kB / 0.5865 GB, free: 1.008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.9702, allocations: 44.19 kB / 0.5865 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.9704, allocations: 19.8 kB / 0.5866 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.9704, allocations: 0 / 0.5866 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003489/0.9707, allocations: 105 kB / 0.5867 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.9708, allocations: 5.438 kB / 0.5867 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.9708, allocations: 2.469 kB / 0.5867 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.9709, allocations: 5.344 kB / 0.5867 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.971, allocations: 8.812 kB / 0.5867 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.971, allocations: 10.3 kB / 0.5867 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.9712, allocations: 12.95 kB / 0.5867 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.9712, allocations: 2.969 kB / 0.5867 GB, free: 0.8789 MB / 430.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,$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.0001829/0.9714, allocations: 124 kB / 0.5868 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.9714, allocations: 2.281 kB / 0.5868 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.9715, allocations: 9.578 kB / 0.5868 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.9715, allocations: 2 kB / 0.5868 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.9716, allocations: 0 / 0.5868 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.9716, allocations: 9.75 kB / 0.5868 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008552/0.9725, allocations: 359.7 kB / 0.5872 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.9725, allocations: 0.8125 kB / 0.5872 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.9725, allocations: 3.906 kB / 0.5872 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.9725, allocations: 0.9062 kB / 0.5872 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.9726, allocations: 5.391 kB / 0.5872 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.9726, allocations: 4.766 kB / 0.5872 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.9726, allocations: 5.5 kB / 0.5872 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.9729, allocations: 181.8 kB / 0.5874 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.973, allocations: 79.61 kB / 0.5875 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.973, allocations: 1.594 kB / 0.5875 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.9732, allocations: 11.62 kB / 0.5875 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.9733, allocations: 19.11 kB / 0.5875 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.9733, allocations: 6.828 kB / 0.5875 GB, free: 132 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.891e-05/0.9734, allocations: 85.61 kB / 0.5876 GB, free: 52 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9734, allocations: 0 / 0.5876 GB, free: 52 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000412/0.9738, allocations: 11.5 kB / 0.5876 GB, free: 52 kB / 430.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 (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.001178/0.975, allocations: 0.7141 MB / 0.5883 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.9753, allocations: 53.28 kB / 0.5883 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.9754, allocations: 0 / 0.5883 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.9755, allocations: 31.89 kB / 0.5884 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.9759, allocations: 11.09 kB / 0.5884 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.9787, allocations: 0.9115 MB / 0.5893 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.9794, allocations: 0.6909 MB / 0.5899 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.592e-05/0.9794, allocations: 10.41 kB / 0.5899 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.9795, allocations: 16.09 kB / 0.59 GB, free: 13.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.824e-06/0.9796, allocations: 0 / 0.59 GB, free: 13.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/1.004, allocations: 1.463 MB / 0.5914 GB, free: 13.63 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004155/1.004, allocations: 175.5 kB / 0.5916 GB, free: 13.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/3.745, allocations: 0 / 0.5916 GB, free: 13.4 MB / 446.1 MB (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) Environment - environmentSimulation: