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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 215.5 kB / 22.25 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.834/0.834, allocations: 134 MB / 446.4 MB, free: 9.91 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 70.89 kB / 0.6185 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1598, allocations: 85.91 MB / 0.7024 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002669/0.1625, allocations: 1.5 MB / 0.7038 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008234/0.1633, allocations: 454.8 kB / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.1633, allocations: 0 / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.1634, allocations: 3.938 kB / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.184e-05/0.1635, allocations: 7.938 kB / 0.7043 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.1636, allocations: 15.97 kB / 0.7043 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.302e-05/0.1637, allocations: 55.78 kB / 0.7043 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1638, allocations: 15.98 kB / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.1638, allocations: 23.92 kB / 0.7044 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/0.1639, allocations: 19.92 kB / 0.7044 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1639, allocations: 7.938 kB / 0.7044 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.1639, allocations: 4 kB / 0.7044 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.1639, allocations: 7.984 kB / 0.7044 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.164, allocations: 27.8 kB / 0.7044 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.1641, allocations: 44.09 kB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1641, allocations: 0 / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1641, allocations: 0 / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.1641, allocations: 4 kB / 0.7045 GB, free: 14.88 MB / 0.5294 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.0005092/0.1646, allocations: 294.2 kB / 0.7048 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1647, allocations: 8.031 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.1647, allocations: 34.75 kB / 0.7048 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.1647, allocations: 0.9375 kB / 0.7048 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1649, allocations: 114.5 kB / 0.7049 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1649, allocations: 8.375 kB / 0.7049 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1649, allocations: 4.375 kB / 0.7049 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.165, allocations: 57.75 kB / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.165, allocations: 0 / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.165, allocations: 12 kB / 0.705 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.165, allocations: 0 / 0.705 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.077e-05/0.1651, allocations: 23.97 kB / 0.705 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.1656, allocations: 263.8 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1657, allocations: 54.56 kB / 0.7053 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.1657, allocations: 20.94 kB / 0.7053 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.1657, allocations: 0 / 0.7053 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.1659, allocations: 79.38 kB / 0.7054 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1659, allocations: 4 kB / 0.7054 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002372/0.1661, allocations: 105.5 kB / 0.7055 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1662, allocations: 55.41 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.1663, allocations: 105.8 kB / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1663, allocations: 33.7 kB / 0.7057 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.1664, allocations: 80.14 kB / 0.7058 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1664, allocations: 27.78 kB / 0.7058 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.1664, allocations: 29.72 kB / 0.7058 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1666, allocations: 326.8 kB / 0.7062 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.1666, allocations: 12 kB / 0.7062 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-05/0.1667, allocations: 53.83 kB / 0.7062 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.465e-05/0.1668, allocations: 71.53 kB / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1668, allocations: 0 / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001461/0.1669, allocations: 97.5 kB / 0.7064 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1669, allocations: 6.344 kB / 0.7064 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1669, allocations: 8.062 kB / 0.7064 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.167, allocations: 0 / 0.7064 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.167, allocations: 8 kB / 0.7064 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.167, allocations: 4 kB / 0.7064 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.1671, allocations: 12.02 kB / 0.7064 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1671, allocations: 11.94 kB / 0.7064 GB, free: 12.68 MB / 0.5294 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.1672, allocations: 117.8 kB / 0.7065 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-06/0.1672, allocations: 0 / 0.7065 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.1672, allocations: 16 kB / 0.7065 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1672, allocations: 3.984 kB / 0.7066 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1672, allocations: 0 / 0.7066 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1672, allocations: 0 / 0.7066 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.1677, allocations: 333.4 kB / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1677, allocations: 0 / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.1677, allocations: 8 kB / 0.7069 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1677, allocations: 0 / 0.7069 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1677, allocations: 0 / 0.7069 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1677, allocations: 3.938 kB / 0.7069 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1677, allocations: 480 / 0.7069 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.1679, allocations: 191.4 kB / 0.7071 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.1679, allocations: 0 / 0.7071 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.1679, allocations: 8 kB / 0.7071 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.168, allocations: 11.92 kB / 0.7071 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.168, allocations: 3.984 kB / 0.7071 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.168, allocations: 8 kB / 0.7071 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.1681, allocations: 83.28 kB / 0.7072 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1681, allocations: 3.938 kB / 0.7072 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002233/0.1683, allocations: 16 kB / 0.7072 GB, free: 11.81 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004788/0.1688, allocations: 0.7124 MB / 0.7079 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.1689, allocations: 52.25 kB / 0.7079 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1689, allocations: 0 / 0.7079 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.293e-05/0.169, allocations: 27.92 kB / 0.708 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.1692, allocations: 12.09 kB / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1706, allocations: 1.366 MB / 0.7093 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.1706, allocations: 71.2 kB / 0.7094 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.1707, allocations: 7.984 kB / 0.7094 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.1707, allocations: 23.38 kB / 0.7094 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.1707, allocations: 0 / 0.7094 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.2003, allocations: 2.327 MB / 0.7117 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.2, allocations: 12.34 kB / 0.7117 GB, free: 7.207 MB / 0.5294 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.722423242405057] Failed to read output from testmodel.py, exit status != 0: 11.30211283871904 11.327427345 11.158709618 Calling exit ...