Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_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.001719/0.001719, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002092/0.002092, allocations: 189 kB / 16.25 MB, free: 6.152 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.489/1.489, allocations: 222.9 MB / 239.9 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 64.67 kB / 0.505 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1584, allocations: 80.94 MB / 0.584 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002995/0.1614, allocations: 1.632 MB / 0.5856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1629, allocations: 0.8891 MB / 0.5865 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-05/0.163, allocations: 3.938 kB / 0.5865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.971e-05/0.1631, allocations: 7.938 kB / 0.5865 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.1633, allocations: 19.84 kB / 0.5865 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.1637, allocations: 111.8 kB / 0.5866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1639, allocations: 75.7 kB / 0.5867 GB, free: 2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.164, allocations: 19.97 kB / 0.5867 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1641, allocations: 39.8 kB / 0.5867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1643, allocations: 31.84 kB / 0.5868 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1643, allocations: 4 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.1647, allocations: 287.6 kB / 0.587 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.1647, allocations: 19.86 kB / 0.5871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.1647, allocations: 27.86 kB / 0.5871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.165, allocations: 143.9 kB / 0.5872 GB, free: 1.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.165, allocations: 8 kB / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.165, allocations: 0 / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.165, allocations: 4 kB / 0.5872 GB, free: 1.426 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.0005987/0.1656, allocations: 407.1 kB / 0.5876 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1657, allocations: 12.03 kB / 0.5876 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.1657, allocations: 30.75 kB / 0.5877 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.1659, allocations: 16.83 kB / 0.5877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1661, allocations: 198.2 kB / 0.5879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1661, allocations: 8.359 kB / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.1661, allocations: 7.938 kB / 0.5879 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.1663, allocations: 57.67 kB / 0.5879 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.1663, allocations: 0 / 0.5879 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1664, allocations: 4 kB / 0.5879 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1664, allocations: 0 / 0.5879 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.1665, allocations: 39.97 kB / 0.588 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.167, allocations: 296.8 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1672, allocations: 58.48 kB / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.958e-05/0.1673, allocations: 28.97 kB / 0.5883 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1673, allocations: 0 / 0.5883 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.1673, allocations: 34.56 kB / 0.5884 GB, free: 84 kB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1673, allocations: 0 / 0.5884 GB, free: 84 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004024/0.1677, allocations: 113.5 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.1678, allocations: 51.41 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1679, allocations: 125.8 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1679, allocations: 25.7 kB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.168, allocations: 104.1 kB / 0.5888 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.168, allocations: 15.66 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.1681, allocations: 25.7 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1682, allocations: 318.8 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-05/0.1683, allocations: 23.97 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.111e-05/0.1684, allocations: 20.36 kB / 0.5892 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.1685, allocations: 64.83 kB / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1685, allocations: 0 / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002229/0.1688, allocations: 85.61 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1688, allocations: 8 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1688, allocations: 0 / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1688, allocations: 0 / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.169, allocations: 15.92 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.169, allocations: 4 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.056e-05/0.1691, allocations: 19.77 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1691, allocations: 4 kB / 0.5894 GB, free: 15.02 MB / 0.4981 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.897e-05/0.1692, allocations: 113.8 kB / 0.5895 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.1692, allocations: 7.906 kB / 0.5895 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.1695, allocations: 101.9 kB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1695, allocations: 0 / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1695, allocations: 0 / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1695, allocations: 7.938 kB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.1697, allocations: 185.7 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1697, allocations: 0 / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.015e-05/0.1698, allocations: 15.98 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1698, allocations: 0 / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1699, allocations: 0 / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1699, allocations: 0 / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1699, allocations: 128 / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.1702, allocations: 203.3 kB / 0.59 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1702, allocations: 81.02 kB / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.1702, allocations: 0 / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.349e-05/0.1703, allocations: 11.98 kB / 0.5901 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.1704, allocations: 4 kB / 0.5901 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.1704, allocations: 7.922 kB / 0.5901 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.1705, allocations: 101.8 kB / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1705, allocations: 0 / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002783/0.1707, allocations: 31.94 kB / 0.5902 GB, free: 14.05 MB / 0.4981 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.0005783/0.1713, allocations: 0.7202 MB / 0.5909 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1716, allocations: 59.89 kB / 0.591 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1716, allocations: 4 kB / 0.591 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.677e-05/0.1717, allocations: 31.98 kB / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.172, allocations: 19.91 kB / 0.591 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.1735, allocations: 1.455 MB / 0.5924 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.1738, allocations: 0.6962 MB / 0.5931 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.296e-05/0.1738, allocations: 8.422 kB / 0.5931 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.1739, allocations: 23.44 kB / 0.5931 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1739, allocations: 0 / 0.5931 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3062/0.4801, allocations: 2.148 MB / 0.5952 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/0.4804, allocations: 208.1 kB / 0.5954 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.783, allocations: 5.219 kB / 0.5954 GB, free: 8.656 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)