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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7323/0.7323, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 65.25 kB / 0.5019 GB, free: 8.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1553, allocations: 80.2 MB / 0.5802 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002754/0.158, allocations: 1.576 MB / 0.5817 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1595, allocations: 0.9062 MB / 0.5826 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.1595, allocations: 0 / 0.5826 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.1596, allocations: 3.938 kB / 0.5826 GB, free: 6.145 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.1598, allocations: 31.72 kB / 0.5827 GB, free: 6.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1602, allocations: 142.3 kB / 0.5828 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1603, allocations: 71.72 kB / 0.5829 GB, free: 5.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.917e-05/0.1604, allocations: 12 kB / 0.5829 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.404e-05/0.1605, allocations: 35.84 kB / 0.5829 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1606, allocations: 39.84 kB / 0.5829 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1606, allocations: 4 kB / 0.5829 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.161, allocations: 279.6 kB / 0.5832 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.161, allocations: 8 kB / 0.5832 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.1611, allocations: 35.78 kB / 0.5833 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.1613, allocations: 151.9 kB / 0.5834 GB, free: 5.352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1613, allocations: 0 / 0.5834 GB, free: 5.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1613, allocations: 0 / 0.5834 GB, free: 5.352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1614, allocations: 0 / 0.5834 GB, free: 5.352 MB / 494.1 MB 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.0005367/0.1619, allocations: 415.1 kB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1619, allocations: 11.97 kB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.162, allocations: 34.75 kB / 0.5838 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.1621, allocations: 8.844 kB / 0.5838 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.1623, allocations: 198.3 kB / 0.584 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.1623, allocations: 384 / 0.584 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.1623, allocations: 7.938 kB / 0.584 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1625, allocations: 57.67 kB / 0.5841 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1625, allocations: 4 kB / 0.5841 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1625, allocations: 4 kB / 0.5841 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1625, allocations: 4 kB / 0.5841 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.1627, allocations: 47.89 kB / 0.5842 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.1631, allocations: 288.8 kB / 0.5844 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.1632, allocations: 58.55 kB / 0.5845 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.1633, allocations: 28.97 kB / 0.5845 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.1633, allocations: 4 kB / 0.5845 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1634, allocations: 30.56 kB / 0.5845 GB, free: 4.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1634, allocations: 0 / 0.5845 GB, free: 4.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003664/0.1637, allocations: 113.5 kB / 0.5847 GB, free: 3.887 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.1638, allocations: 51.41 kB / 0.5847 GB, free: 3.824 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1639, allocations: 129.8 kB / 0.5848 GB, free: 3.688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1639, allocations: 29.7 kB / 0.5849 GB, free: 3.652 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.164, allocations: 92.14 kB / 0.5849 GB, free: 3.559 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.164, allocations: 27.58 kB / 0.585 GB, free: 3.531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.1641, allocations: 17.72 kB / 0.585 GB, free: 3.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1642, allocations: 330.8 kB / 0.5853 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.1642, allocations: 19.98 kB / 0.5853 GB, free: 3.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/0.1643, allocations: 19.98 kB / 0.5853 GB, free: 3.137 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.1645, allocations: 61.14 kB / 0.5854 GB, free: 3.074 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1645, allocations: 0 / 0.5854 GB, free: 3.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002266/0.1647, allocations: 93.58 kB / 0.5855 GB, free: 2.977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1648, allocations: 10.17 kB / 0.5855 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1648, allocations: 0 / 0.5855 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1648, allocations: 0 / 0.5855 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1649, allocations: 15.98 kB / 0.5855 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1649, allocations: 0 / 0.5855 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.165, allocations: 11.88 kB / 0.5855 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.165, allocations: 0 / 0.5855 GB, free: 2.941 MB / 494.1 MB 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.051e-05/0.1651, allocations: 117.8 kB / 0.5856 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.1651, allocations: 11.91 kB / 0.5856 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.1654, allocations: 97.95 kB / 0.5857 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1654, allocations: 4 kB / 0.5857 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1654, allocations: 0 / 0.5857 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1654, allocations: 3.938 kB / 0.5857 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.1656, allocations: 181.6 kB / 0.5859 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1656, allocations: 0 / 0.5859 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.585e-05/0.1657, allocations: 12 kB / 0.5859 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1657, allocations: 4 kB / 0.5859 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.1657, allocations: 3.984 kB / 0.5859 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1657, allocations: 4 kB / 0.5859 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1657, allocations: 0 / 0.5859 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.166, allocations: 191.3 kB / 0.5861 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.166, allocations: 85.02 kB / 0.5862 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1661, allocations: 192 / 0.5862 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.1662, allocations: 12 kB / 0.5862 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.1662, allocations: 7.984 kB / 0.5862 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.1662, allocations: 7.938 kB / 0.5862 GB, free: 2.109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.757e-05/0.1663, allocations: 95.27 kB / 0.5863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1663, allocations: 0 / 0.5863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1666, allocations: 27.94 kB / 0.5864 GB, free: 1.988 MB / 494.1 MB 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.000577/0.1671, allocations: 0.7358 MB / 0.5871 GB, free: 1.223 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1674, allocations: 51.97 kB / 0.5871 GB, free: 1.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1674, allocations: 4 kB / 0.5871 GB, free: 1.168 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1675, allocations: 39.84 kB / 0.5872 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.1678, allocations: 11.94 kB / 0.5872 GB, free: 1.117 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.1694, allocations: 1.448 MB / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.1696, allocations: 0.6963 MB / 0.5893 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.912e-05/0.1697, allocations: 7.734 kB / 0.5893 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.1697, allocations: 31.36 kB / 0.5893 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1697, allocations: 0 / 0.5893 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09347/0.2632, allocations: 2.251 MB / 0.5915 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/7.7, allocations: 15.98 kB / 0.5915 GB, free: 12.7 MB / 0.4981 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)