Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001969/0.001969, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002371/0.002371, allocations: 215.9 kB / 22.25 MB, free: 4.855 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.793 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.8636/0.8636, allocations: 134 MB / 446.4 MB, free: 9.914 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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.00195/0.00195, allocations: 68.55 kB / 0.6185 GB, free: 6.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1612, allocations: 85.92 MB / 0.7024 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002887/0.1641, allocations: 1.574 MB / 0.7039 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1658, allocations: 0.9201 MB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.1659, allocations: 0 / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.466e-05/0.1659, allocations: 11.86 kB / 0.7048 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.1661, allocations: 23.8 kB / 0.7049 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.1665, allocations: 159.5 kB / 0.705 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1667, allocations: 83.64 kB / 0.7051 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.1668, allocations: 8 kB / 0.7051 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1669, allocations: 39.84 kB / 0.7051 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.167, allocations: 35.78 kB / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.167, allocations: 4 kB / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.1674, allocations: 275.6 kB / 0.7054 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.1674, allocations: 11.92 kB / 0.7055 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.1675, allocations: 19.88 kB / 0.7055 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.1678, allocations: 159.5 kB / 0.7056 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1678, allocations: 4 kB / 0.7056 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1678, allocations: 0 / 0.7056 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.1678, allocations: 0 / 0.7056 GB, free: 13.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005849/0.1684, allocations: 345.7 kB / 0.706 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1684, allocations: 8.031 kB / 0.706 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.1684, allocations: 34.73 kB / 0.706 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.1687, allocations: 28.88 kB / 0.706 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.169, allocations: 142.4 kB / 0.7062 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.169, allocations: 4.125 kB / 0.7062 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.169, allocations: 8 kB / 0.7062 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1692, allocations: 69.58 kB / 0.7062 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1692, allocations: 0 / 0.7062 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1692, allocations: 0 / 0.7062 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1692, allocations: 0 / 0.7062 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1693, allocations: 39.97 kB / 0.7063 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.1697, allocations: 267.9 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.1699, allocations: 50.5 kB / 0.7066 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.17, allocations: 40.89 kB / 0.7066 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.17, allocations: 0 / 0.7066 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.17, allocations: 34.56 kB / 0.7067 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.17, allocations: 0 / 0.7067 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0003552/0.1704, allocations: 109.6 kB / 0.7068 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1704, allocations: 55.34 kB / 0.7068 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1705, allocations: 136 kB / 0.7069 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1705, allocations: 25.7 kB / 0.707 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.1706, allocations: 104.1 kB / 0.7071 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.1706, allocations: 11.84 kB / 0.7071 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.1707, allocations: 21.7 kB / 0.7071 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1708, allocations: 326.8 kB / 0.7074 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.1709, allocations: 19.98 kB / 0.7074 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.681e-05/0.171, allocations: 23.98 kB / 0.7074 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1711, allocations: 56.83 kB / 0.7075 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1711, allocations: 0 / 0.7075 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002241/0.1713, allocations: 89.58 kB / 0.7076 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.1714, allocations: 8 kB / 0.7076 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1714, allocations: 3.938 kB / 0.7076 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1714, allocations: 0 / 0.7076 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1715, allocations: 19.98 kB / 0.7076 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1715, allocations: 0 / 0.7076 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.969e-05/0.1715, allocations: 15.86 kB / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1716, allocations: 0 / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.689e-05/0.1716, allocations: 113.8 kB / 0.7077 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.1717, allocations: 7.953 kB / 0.7077 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.1719, allocations: 102.4 kB / 0.7078 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.1719, allocations: 7.984 kB / 0.7079 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1719, allocations: 4 kB / 0.7079 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.172, allocations: 3.938 kB / 0.7079 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.1721, allocations: 148.8 kB / 0.708 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1721, allocations: 4 kB / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.043e-05/0.1722, allocations: 11.98 kB / 0.708 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1722, allocations: 0 / 0.708 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1722, allocations: 4 kB / 0.708 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1722, allocations: 0 / 0.708 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1722, allocations: 0 / 0.708 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1725, allocations: 191.4 kB / 0.7082 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.1725, allocations: 7.953 kB / 0.7082 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1725, allocations: 0 / 0.7082 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.1726, allocations: 7.984 kB / 0.7082 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.1727, allocations: 11.94 kB / 0.7082 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1727, allocations: 11.86 kB / 0.7082 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.992e-05/0.1727, allocations: 105.3 kB / 0.7083 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1727, allocations: 0 / 0.7083 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002374/0.173, allocations: 23.89 kB / 0.7084 GB, free: 10.64 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.000616/0.1736, allocations: 0.7281 MB / 0.7091 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.1738, allocations: 55.91 kB / 0.7091 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1738, allocations: 0 / 0.7091 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.1739, allocations: 23.98 kB / 0.7092 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.1742, allocations: 19.92 kB / 0.7092 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.1758, allocations: 1.49 MB / 0.7106 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.238e-05/0.1759, allocations: 75.33 kB / 0.7107 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.798e-05/0.176, allocations: 11.94 kB / 0.7107 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.176, allocations: 27.42 kB / 0.7107 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.176, allocations: 0 / 0.7107 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.2055, allocations: 2.918 MB / 0.7136 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.95, allocations: 15.05 kB / 0.7136 GB, free: 5.309 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.504250776953995] Failed to read output from testmodel.py, exit status != 0: 11.055137058254331 11.072012702 10.901184358 Calling exit ...