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.001809/0.001809, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.002181/0.002181, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.529/1.529, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8557/0.8557, allocations: 133.9 MB / 443.5 MB, free: 14.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",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.002016/0.002016, allocations: 69.58 kB / 0.6141 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1542, allocations: 85.86 MB / 0.698 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002849/0.157, allocations: 1.609 MB / 0.6995 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1586, allocations: 0.9802 MB / 0.7005 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.1587, allocations: 1.375 kB / 0.7005 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.959e-05/0.1588, allocations: 11.86 kB / 0.7005 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.159, allocations: 23.92 kB / 0.7005 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.1594, allocations: 163 kB / 0.7007 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1595, allocations: 76.47 kB / 0.7007 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.1596, allocations: 4.375 kB / 0.7007 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.1598, allocations: 48.92 kB / 0.7008 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.1598, allocations: 37.19 kB / 0.7008 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1599, allocations: 3.844 kB / 0.7008 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004067/0.1603, allocations: 283.2 kB / 0.7011 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.1603, allocations: 21.2 kB / 0.7011 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.1603, allocations: 40.28 kB / 0.7012 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.1606, allocations: 156.1 kB / 0.7013 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1606, allocations: 0 / 0.7013 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1606, allocations: 0 / 0.7013 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1606, allocations: 2.25 kB / 0.7013 GB, free: 11.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006122/0.1612, allocations: 411 kB / 0.7017 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1613, allocations: 10.95 kB / 0.7017 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.673e-05/0.1613, allocations: 9.5 kB / 0.7017 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.1613, allocations: 36.03 kB / 0.7018 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/0.1616, allocations: 29.64 kB / 0.7018 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.1618, allocations: 203.2 kB / 0.702 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1618, allocations: 5.312 kB / 0.702 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1619, allocations: 2.469 kB / 0.702 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.162, allocations: 66.56 kB / 0.7021 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1621, allocations: 0 / 0.7021 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1621, allocations: 1.094 kB / 0.7021 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1621, allocations: 0 / 0.7021 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.1622, allocations: 40.75 kB / 0.7021 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.1627, allocations: 304.9 kB / 0.7024 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.1628, allocations: 50 kB / 0.7024 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.106e-05/0.1629, allocations: 26.84 kB / 0.7025 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.1629, allocations: 4 kB / 0.7025 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.163, allocations: 31.81 kB / 0.7025 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.163, allocations: 0 / 0.7025 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.0003774/0.1633, allocations: 114.7 kB / 0.7026 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1634, allocations: 52.78 kB / 0.7027 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1635, allocations: 139 kB / 0.7028 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1635, allocations: 27.08 kB / 0.7028 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.1636, allocations: 94.88 kB / 0.7029 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1636, allocations: 22.62 kB / 0.7029 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1637, allocations: 21.83 kB / 0.7029 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1638, allocations: 321.6 kB / 0.7032 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.1639, allocations: 24.42 kB / 0.7033 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.1639, allocations: 24.34 kB / 0.7033 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.1641, allocations: 48.34 kB / 0.7033 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1641, allocations: 0 / 0.7033 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002202/0.1643, allocations: 102.7 kB / 0.7034 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1643, allocations: 5.688 kB / 0.7034 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1643, allocations: 1.375 kB / 0.7034 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1644, allocations: 0 / 0.7034 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1645, allocations: 14.98 kB / 0.7035 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1645, allocations: 0 / 0.7035 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.1645, allocations: 15.98 kB / 0.7035 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1645, allocations: 5.312 kB / 0.7035 GB, free: 9.035 MB / 0.5137 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 9.667e-05/0.1646, allocations: 117.2 kB / 0.7036 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.1647, allocations: 8.078 kB / 0.7036 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.165, allocations: 104.4 kB / 0.7037 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.165, allocations: 1.375 kB / 0.7037 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.165, allocations: 0 / 0.7037 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.165, allocations: 3.938 kB / 0.7037 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1652, allocations: 183.4 kB / 0.7039 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1652, allocations: 5.297 kB / 0.7039 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.1653, allocations: 18.64 kB / 0.7039 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1653, allocations: 4 kB / 0.7039 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1653, allocations: 1.438 kB / 0.7039 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1653, allocations: 0 / 0.7039 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1653, allocations: 1.375 kB / 0.7039 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.1656, allocations: 195.2 kB / 0.7041 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.1656, allocations: 81.06 kB / 0.7042 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1656, allocations: 4 kB / 0.7042 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.1657, allocations: 7.984 kB / 0.7042 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.1658, allocations: 11.94 kB / 0.7042 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1658, allocations: 3.984 kB / 0.7042 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.648e-05/0.1658, allocations: 107.2 kB / 0.7043 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1658, allocations: 0 / 0.7043 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002407/0.1661, allocations: 19.94 kB / 0.7043 GB, free: 8.168 MB / 0.5137 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.0006468/0.1667, allocations: 0.7281 MB / 0.705 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.1669, allocations: 55.91 kB / 0.7051 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1669, allocations: 0 / 0.7051 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.825e-05/0.167, allocations: 27.98 kB / 0.7051 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.1673, allocations: 21.64 kB / 0.7051 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.169, allocations: 1.482 MB / 0.7066 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1693, allocations: 0.6924 MB / 0.7073 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.297e-05/0.1694, allocations: 12.06 kB / 0.7073 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.1694, allocations: 23.36 kB / 0.7073 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1694, allocations: 4 kB / 0.7073 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.1874, allocations: 2.413 MB / 0.7096 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.294, allocations: 13.36 kB / 0.7097 GB, free: 2.738 MB / 0.5137 GB " [Timeout remaining time 651] (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: 12.083120316034183] Failed to read output from testmodel.py, exit status != 0: 8.68613105098484 8.430651936 8.267226677 Calling exit ...