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.006842/0.006842, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.001183/0.001183, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7465/0.7465, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 68.02 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1642, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002726/0.1669, allocations: 1.563 MB / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1684, allocations: 0.92 MB / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.1685, allocations: 4 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.1685, allocations: 7.922 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.1688, allocations: 23.78 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.1691, allocations: 135.6 kB / 0.6618 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1693, allocations: 79.66 kB / 0.6619 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/0.1694, allocations: 10.81 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1695, allocations: 35.91 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1697, allocations: 35.84 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1697, allocations: 4 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.1701, allocations: 283.6 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.1701, allocations: 19.86 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.1701, allocations: 27.86 kB / 0.6623 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.1704, allocations: 151.6 kB / 0.6624 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1704, allocations: 4 kB / 0.6624 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1704, allocations: 0 / 0.6624 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1704, allocations: 4 kB / 0.6624 GB, free: 10.68 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.0005705/0.171, allocations: 400 kB / 0.6628 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.171, allocations: 12.03 kB / 0.6628 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.038e-05/0.1711, allocations: 30.75 kB / 0.6628 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.1712, allocations: 16.83 kB / 0.6629 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.1715, allocations: 188.2 kB / 0.663 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1715, allocations: 8.125 kB / 0.663 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.1715, allocations: 4 kB / 0.663 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.1717, allocations: 65.59 kB / 0.6631 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1717, allocations: 0 / 0.6631 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1717, allocations: 0 / 0.6631 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1717, allocations: 0 / 0.6631 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.1718, allocations: 39.97 kB / 0.6631 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.1723, allocations: 308.7 kB / 0.6634 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.1724, allocations: 50.56 kB / 0.6635 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.745e-05/0.1725, allocations: 28.91 kB / 0.6635 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.1725, allocations: 4 kB / 0.6635 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1726, allocations: 38.55 kB / 0.6636 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1726, allocations: 0 / 0.6636 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003355/0.1729, allocations: 105.8 kB / 0.6637 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.173, allocations: 55.34 kB / 0.6637 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.1731, allocations: 135.1 kB / 0.6638 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1731, allocations: 29.7 kB / 0.6639 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.1732, allocations: 100.1 kB / 0.664 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1732, allocations: 15.75 kB / 0.664 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.1732, allocations: 21.7 kB / 0.664 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1733, allocations: 314.8 kB / 0.6643 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.1734, allocations: 27.98 kB / 0.6643 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.1735, allocations: 27.98 kB / 0.6644 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1736, allocations: 52.83 kB / 0.6644 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1736, allocations: 0 / 0.6644 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001967/0.1738, allocations: 89.56 kB / 0.6645 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1739, allocations: 10.03 kB / 0.6645 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1739, allocations: 0 / 0.6645 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1739, allocations: 0 / 0.6645 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.174, allocations: 19.92 kB / 0.6645 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.174, allocations: 0 / 0.6645 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.1741, allocations: 15.94 kB / 0.6645 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1741, allocations: 3.984 kB / 0.6645 GB, free: 8.277 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.659e-05/0.1742, allocations: 113.8 kB / 0.6646 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.1742, allocations: 7.906 kB / 0.6647 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.1745, allocations: 93.95 kB / 0.6647 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1745, allocations: 0 / 0.6647 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1745, allocations: 4 kB / 0.6647 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1745, allocations: 7.938 kB / 0.6648 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.1747, allocations: 177.7 kB / 0.6649 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1747, allocations: 256 / 0.6649 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.668e-05/0.1748, allocations: 19.92 kB / 0.6649 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1748, allocations: 4 kB / 0.6649 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1748, allocations: 0 / 0.6649 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1748, allocations: 0 / 0.6649 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1748, allocations: 3.984 kB / 0.6649 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.175, allocations: 195.4 kB / 0.6651 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.1751, allocations: 84.95 kB / 0.6652 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.1751, allocations: 4 kB / 0.6652 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.1752, allocations: 7.984 kB / 0.6652 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1753, allocations: 11.88 kB / 0.6652 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1753, allocations: 0 / 0.6652 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.1753, allocations: 107.2 kB / 0.6653 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1753, allocations: 0 / 0.6653 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002321/0.1756, allocations: 20 kB / 0.6654 GB, free: 7.328 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.0006532/0.1762, allocations: 0.7396 MB / 0.6661 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.1765, allocations: 59.89 kB / 0.6661 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1765, allocations: 0 / 0.6661 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.1766, allocations: 31.98 kB / 0.6662 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.1768, allocations: 14.59 kB / 0.6662 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.1784, allocations: 1.446 MB / 0.6676 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1787, allocations: 0.6963 MB / 0.6683 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.574e-05/0.1787, allocations: 8.062 kB / 0.6683 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.1788, allocations: 26.92 kB / 0.6683 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of SimCode: time 7.72e-07/0.1788, allocations: 4 kB / 0.6683 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.1978, allocations: 2.304 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.522, allocations: 13.3 kB / 0.6706 GB, free: 2.008 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)