Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.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.001559/0.001559, 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.001784/0.001784, allocations: 212.3 kB / 22.24 MB, free: 5.262 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.789 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.8204/0.8204, allocations: 134 MB / 446.4 MB, free: 9.922 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.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",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.001982/0.001982, allocations: 73.39 kB / 0.6185 GB, free: 6.918 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1546, allocations: 85.91 MB / 0.7023 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002808/0.1574, allocations: 1.476 MB / 0.7038 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008465/0.1583, allocations: 458.8 kB / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.1583, allocations: 0 / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.1583, allocations: 0 / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.63e-05/0.1584, allocations: 15.86 kB / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.1586, allocations: 23.97 kB / 0.7043 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.378e-05/0.1587, allocations: 55.78 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.737e-05/0.1588, allocations: 4 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.523e-05/0.1588, allocations: 27.92 kB / 0.7043 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.1589, allocations: 19.91 kB / 0.7044 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.1589, allocations: 4 kB / 0.7044 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.1589, allocations: 4 kB / 0.7044 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.1589, allocations: 11.98 kB / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.159, allocations: 15.92 kB / 0.7044 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1591, allocations: 51.98 kB / 0.7044 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1591, allocations: 0 / 0.7044 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1591, allocations: 0 / 0.7044 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1591, allocations: 0 / 0.7044 GB, free: 14.94 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.0004993/0.1596, allocations: 294.2 kB / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1597, allocations: 12.03 kB / 0.7047 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.1597, allocations: 34.73 kB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.1597, allocations: 4.938 kB / 0.7048 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1598, allocations: 118.5 kB / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1599, allocations: 384 / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.1599, allocations: 4.375 kB / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.16, allocations: 65.73 kB / 0.705 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.16, allocations: 0 / 0.705 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.16, allocations: 4 kB / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.16, allocations: 4 kB / 0.705 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.914e-05/0.1601, allocations: 23.98 kB / 0.705 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.1605, allocations: 259.8 kB / 0.7052 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.1607, allocations: 50.56 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.1607, allocations: 20.89 kB / 0.7053 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.1607, allocations: 7.984 kB / 0.7053 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.1609, allocations: 79.36 kB / 0.7054 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1609, allocations: 0 / 0.7054 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002351/0.1611, allocations: 109.5 kB / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.1612, allocations: 55.41 kB / 0.7055 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/0.1613, allocations: 109.8 kB / 0.7057 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1613, allocations: 29.7 kB / 0.7057 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.1614, allocations: 80.14 kB / 0.7058 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.1614, allocations: 27.78 kB / 0.7058 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.1614, allocations: 33.7 kB / 0.7058 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1616, allocations: 318.8 kB / 0.7061 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.1616, allocations: 15.98 kB / 0.7061 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.1617, allocations: 47.42 kB / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.384e-05/0.1618, allocations: 71.38 kB / 0.7062 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1618, allocations: 0 / 0.7062 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001525/0.1619, allocations: 97.5 kB / 0.7063 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1619, allocations: 8 kB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1619, allocations: 3.984 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.162, allocations: 0 / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.162, allocations: 11.98 kB / 0.7064 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.162, allocations: 4 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.275e-05/0.1621, allocations: 8 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1621, allocations: 7.938 kB / 0.7064 GB, free: 12.74 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 9.349e-05/0.1622, allocations: 125.8 kB / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.1622, allocations: 4 kB / 0.7065 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.1622, allocations: 8.062 kB / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1622, allocations: 0 / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1622, allocations: 384 / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1622, allocations: 4 kB / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.1627, allocations: 329.4 kB / 0.7068 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1627, allocations: 0 / 0.7068 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.1627, allocations: 4 kB / 0.7068 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1627, allocations: 7.938 kB / 0.7068 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1627, allocations: 4.266 kB / 0.7068 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1627, allocations: 7.938 kB / 0.7069 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1627, allocations: 0 / 0.7069 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.1629, allocations: 183.4 kB / 0.707 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.1629, allocations: 15.97 kB / 0.707 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.163, allocations: 0 / 0.707 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.163, allocations: 7.938 kB / 0.7071 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.1631, allocations: 7.984 kB / 0.7071 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1631, allocations: 4 kB / 0.7071 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.1631, allocations: 83.27 kB / 0.7071 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1631, allocations: 4 kB / 0.7071 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002231/0.1634, allocations: 16 kB / 0.7072 GB, free: 11.86 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.0004914/0.1639, allocations: 0.7123 MB / 0.7079 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.164, allocations: 52.2 kB / 0.7079 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.164, allocations: 0 / 0.7079 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.1641, allocations: 27.92 kB / 0.7079 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.1643, allocations: 20.89 kB / 0.708 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1657, allocations: 1.381 MB / 0.7093 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.672e-05/0.1658, allocations: 71.2 kB / 0.7094 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.841e-05/0.1658, allocations: 7.984 kB / 0.7094 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.1659, allocations: 15.44 kB / 0.7094 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of SimCode: time 6.71e-07/0.1659, allocations: 0 / 0.7094 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.195, allocations: 2.337 MB / 0.7117 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.89, allocations: 13.88 kB / 0.7117 GB, free: 7.238 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.331495109014213] Failed to read output from testmodel.py, exit status != 0: 10.987827273085713 11.007869327 10.845559057 Calling exit ...