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.05652/0.05652, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002595/0.002595, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.765/1.765, allocations: 230.6 MB / 252.8 MB, free: 8.992 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 1.114/1.114, allocations: 134 MB / 442.8 MB, free: 11.3 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.001842/0.001842, allocations: 64.97 kB / 0.6134 GB, free: 8.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1588, allocations: 85.86 MB / 0.6972 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.004017/0.1628, allocations: 1.471 MB / 0.6987 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1642, allocations: 498.8 kB / 0.6991 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004606/0.1647, allocations: 3.938 kB / 0.6991 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.329e-05/0.1648, allocations: 3.938 kB / 0.6992 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.138e-05/0.1648, allocations: 7.938 kB / 0.6992 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.165, allocations: 19.92 kB / 0.6992 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.1651, allocations: 55.83 kB / 0.6992 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000397/0.1655, allocations: 15.98 kB / 0.6992 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.16e-05/0.1656, allocations: 27.86 kB / 0.6993 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.145e-05/0.1656, allocations: 15.92 kB / 0.6993 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1657, allocations: 4 kB / 0.6993 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.1657, allocations: 4 kB / 0.6993 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.1657, allocations: 11.98 kB / 0.6993 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.1657, allocations: 23.86 kB / 0.6993 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.1659, allocations: 44.09 kB / 0.6994 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1659, allocations: 0 / 0.6994 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1659, allocations: 0 / 0.6994 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.1659, allocations: 0 / 0.6994 GB, free: 0.9062 MB / 0.5137 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.0009263/0.1668, allocations: 371.3 kB / 0.6997 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1669, allocations: 9.109 kB / 0.6997 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.1669, allocations: 34.75 kB / 0.6998 GB, free: 456 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.1669, allocations: 0.9375 kB / 0.6998 GB, free: 456 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.1674, allocations: 184.2 kB / 0.6999 GB, free: 232 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.1675, allocations: 8.375 kB / 0.7 GB, free: 224 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.1675, allocations: 8.312 kB / 0.7 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.1679, allocations: 53.81 kB / 0.7 GB, free: 156 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.168, allocations: 7.984 kB / 0.7 GB, free: 148 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.168, allocations: 0 / 0.7 GB, free: 148 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003121/0.1683, allocations: 4 kB / 0.7 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.243e-05/0.1684, allocations: 27.92 kB / 0.7001 GB, free: 116 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000675/0.169, allocations: 292.8 kB / 0.7003 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.1691, allocations: 58.59 kB / 0.7004 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.1692, allocations: 24.94 kB / 0.7004 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1692, allocations: 4 kB / 0.7004 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005738/0.1698, allocations: 75.28 kB / 0.7005 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1698, allocations: 0 / 0.7005 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.000242/0.17, allocations: 97.61 kB / 0.7006 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.1701, allocations: 55.41 kB / 0.7006 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.1702, allocations: 109.8 kB / 0.7007 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1702, allocations: 33.7 kB / 0.7008 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.1702, allocations: 80.14 kB / 0.7008 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.1703, allocations: 27.78 kB / 0.7009 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.1703, allocations: 29.66 kB / 0.7009 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1705, allocations: 326.8 kB / 0.7012 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.1705, allocations: 12 kB / 0.7012 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.1706, allocations: 48.52 kB / 0.7013 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.941e-05/0.1706, allocations: 67.36 kB / 0.7013 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1706, allocations: 0 / 0.7013 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001408/0.1708, allocations: 97.84 kB / 0.7014 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1708, allocations: 4 kB / 0.7014 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1708, allocations: 4.062 kB / 0.7014 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004722/0.1713, allocations: 4.031 kB / 0.7014 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.561e-05/0.1714, allocations: 15.94 kB / 0.7015 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1714, allocations: 3.938 kB / 0.7015 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.1714, allocations: 11.98 kB / 0.7015 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1714, allocations: 11.92 kB / 0.7015 GB, free: 14.49 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 8.741e-05/0.1715, allocations: 113.8 kB / 0.7016 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.1715, allocations: 4 kB / 0.7016 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.1716, allocations: 7.969 kB / 0.7016 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1716, allocations: 3.984 kB / 0.7016 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1716, allocations: 8 kB / 0.7016 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1716, allocations: 0 / 0.7016 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.172, allocations: 362.7 kB / 0.702 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.172, allocations: 0 / 0.702 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.172, allocations: 8.031 kB / 0.702 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.172, allocations: 3.938 kB / 0.702 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.172, allocations: 4 kB / 0.702 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.172, allocations: 3.938 kB / 0.702 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.172, allocations: 4 kB / 0.702 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1722, allocations: 183.4 kB / 0.7022 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.1723, allocations: 77.11 kB / 0.7022 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1723, allocations: 7.984 kB / 0.7022 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.34e-05/0.1724, allocations: 7.938 kB / 0.7022 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.1724, allocations: 7.984 kB / 0.7023 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1724, allocations: 4 kB / 0.7023 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.457e-05/0.1725, allocations: 83.28 kB / 0.7023 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1725, allocations: 4 kB / 0.7023 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002234/0.1727, allocations: 16 kB / 0.7024 GB, free: 13.49 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.0004587/0.1731, allocations: 0.7105 MB / 0.703 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.1733, allocations: 51.92 kB / 0.7031 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1733, allocations: 4.062 kB / 0.7031 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.1733, allocations: 27.92 kB / 0.7031 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.1736, allocations: 14.06 kB / 0.7031 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.175, allocations: 1.383 MB / 0.7045 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1752, allocations: 0.6844 MB / 0.7052 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.1753, allocations: 4 kB / 0.7052 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.1753, allocations: 23.42 kB / 0.7052 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.1753, allocations: 0 / 0.7052 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.052/0.2273, allocations: 1.756 MB / 0.7069 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/7.996, allocations: 10.41 kB / 0.7069 GB, free: 8.773 MB / 0.5294 GB " [Timeout remaining time 652] (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: 12.242635179005447] Failed to read output from testmodel.py, exit status != 0: 8.06350890599424 8.08941774 7.91874936 Calling exit ...