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.004623/0.004623, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001032/0.001032, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7688/0.7688, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.97 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1601, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002904/0.1631, allocations: 1.56 MB / 0.6607 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1647, allocations: 0.9123 MB / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.597e-05/0.1649, allocations: 0 / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.679e-05/0.1649, allocations: 11.86 kB / 0.6616 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.1652, allocations: 23.8 kB / 0.6616 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.1656, allocations: 143 kB / 0.6618 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.1657, allocations: 79.7 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.609e-05/0.1658, allocations: 6.812 kB / 0.6619 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.1659, allocations: 43.84 kB / 0.6619 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.1661, allocations: 35.84 kB / 0.6619 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1661, allocations: 4 kB / 0.6619 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003588/0.1664, allocations: 283.6 kB / 0.6622 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.1665, allocations: 11.94 kB / 0.6622 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.1665, allocations: 27.86 kB / 0.6623 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.1667, allocations: 147.6 kB / 0.6624 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1668, allocations: 0 / 0.6624 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1668, allocations: 0 / 0.6624 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.1668, allocations: 4 kB / 0.6624 GB, free: 7.441 MB / 0.4981 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.0005326/0.1673, allocations: 412 kB / 0.6628 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1674, allocations: 12.03 kB / 0.6628 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.1674, allocations: 34.75 kB / 0.6628 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.1675, allocations: 20.77 kB / 0.6629 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1678, allocations: 180.2 kB / 0.663 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1678, allocations: 8.125 kB / 0.663 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1678, allocations: 11.98 kB / 0.663 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.168, allocations: 61.66 kB / 0.6631 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.168, allocations: 0 / 0.6631 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.168, allocations: 0 / 0.6631 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.168, allocations: 0 / 0.6631 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.1682, allocations: 39.97 kB / 0.6631 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.1686, allocations: 312.6 kB / 0.6634 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1687, allocations: 50.56 kB / 0.6635 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.079e-05/0.1688, allocations: 24.97 kB / 0.6635 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1688, allocations: 4 kB / 0.6635 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1688, allocations: 30.56 kB / 0.6635 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1688, allocations: 4 kB / 0.6636 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003502/0.1692, allocations: 121.4 kB / 0.6637 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.1692, allocations: 55.34 kB / 0.6637 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1694, allocations: 135.5 kB / 0.6639 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1694, allocations: 25.7 kB / 0.6639 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.1694, allocations: 92.14 kB / 0.664 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1695, allocations: 19.73 kB / 0.664 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.1695, allocations: 21.72 kB / 0.664 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1696, allocations: 318.8 kB / 0.6643 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.1697, allocations: 23.98 kB / 0.6643 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.1698, allocations: 23.98 kB / 0.6644 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.1699, allocations: 48.83 kB / 0.6644 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1699, allocations: 0 / 0.6644 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001983/0.1701, allocations: 97.5 kB / 0.6645 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1701, allocations: 8 kB / 0.6645 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1702, allocations: 0 / 0.6645 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1702, allocations: 0 / 0.6645 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1703, allocations: 19.98 kB / 0.6645 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1703, allocations: 0 / 0.6645 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.1704, allocations: 7.938 kB / 0.6645 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.1704, allocations: 0 / 0.6645 GB, free: 5.031 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 7.448e-05/0.1705, allocations: 121.8 kB / 0.6646 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.1705, allocations: 7.906 kB / 0.6646 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.1707, allocations: 93.91 kB / 0.6647 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1708, allocations: 0.5 kB / 0.6647 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1708, allocations: 4 kB / 0.6647 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1708, allocations: 7.922 kB / 0.6648 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.171, allocations: 181.5 kB / 0.6649 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.171, allocations: 4 kB / 0.6649 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.378e-05/0.1711, allocations: 19.98 kB / 0.6649 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1711, allocations: 0 / 0.6649 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1711, allocations: 4 kB / 0.665 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1711, allocations: 0 / 0.665 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1711, allocations: 0 / 0.665 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1713, allocations: 187.4 kB / 0.6651 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.1714, allocations: 92.95 kB / 0.6652 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1714, allocations: 0 / 0.6652 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.2e-05/0.1715, allocations: 4 kB / 0.6652 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.1715, allocations: 15.86 kB / 0.6652 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1716, allocations: 0 / 0.6652 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.349e-05/0.1716, allocations: 104.9 kB / 0.6653 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1716, allocations: 4 kB / 0.6653 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002449/0.1719, allocations: 19.98 kB / 0.6654 GB, free: 4.074 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.0005997/0.1725, allocations: 0.7397 MB / 0.6661 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1727, allocations: 51.97 kB / 0.6661 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1727, allocations: 0 / 0.6661 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.133e-05/0.1728, allocations: 39.91 kB / 0.6662 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.1731, allocations: 11.94 kB / 0.6662 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.1747, allocations: 1.443 MB / 0.6676 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.175, allocations: 0.6924 MB / 0.6683 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.798e-05/0.1751, allocations: 15.97 kB / 0.6683 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.1751, allocations: 19.44 kB / 0.6683 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1751, allocations: 4 kB / 0.6683 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.1953, allocations: 2.3 MB / 0.6705 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/7.572, allocations: 11.34 kB / 0.6706 GB, free: 14.76 MB / 0.5137 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)