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.005812/0.005812, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001566/0.001566, allocations: 202 kB / 16.68 MB, free: 5.969 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.826/0.826, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 68.16 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1498, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002567/0.1524, allocations: 1.566 MB / 0.6607 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1538, allocations: 0.9084 MB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.1539, allocations: 3.938 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.1539, allocations: 7.875 kB / 0.6616 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.1541, allocations: 23.78 kB / 0.6617 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.1545, allocations: 139.6 kB / 0.6618 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1546, allocations: 79.7 kB / 0.6619 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.891e-05/0.1547, allocations: 8.266 kB / 0.6619 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.1548, allocations: 39.86 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1549, allocations: 35.84 kB / 0.662 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.155, allocations: 8 kB / 0.662 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.1554, allocations: 279.6 kB / 0.6622 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.1554, allocations: 15.92 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.1554, allocations: 27.86 kB / 0.6623 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1557, allocations: 151.4 kB / 0.6624 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1557, allocations: 0 / 0.6624 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1557, allocations: 0 / 0.6624 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1557, allocations: 4 kB / 0.6624 GB, free: 10.7 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.0005876/0.1563, allocations: 410.8 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1563, allocations: 12.03 kB / 0.6628 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.1564, allocations: 30.75 kB / 0.6628 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1565, allocations: 12.89 kB / 0.6629 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1567, allocations: 196.1 kB / 0.663 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1567, allocations: 12.11 kB / 0.6631 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.1568, allocations: 4 kB / 0.6631 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1569, allocations: 57.67 kB / 0.6631 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.157, allocations: 4 kB / 0.6631 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.157, allocations: 0 / 0.6631 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.157, allocations: 3.984 kB / 0.6631 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.1571, allocations: 39.97 kB / 0.6632 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.1576, allocations: 296.8 kB / 0.6634 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.1577, allocations: 62.53 kB / 0.6635 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.1578, allocations: 24.97 kB / 0.6635 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1578, allocations: 0 / 0.6635 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1579, allocations: 34.56 kB / 0.6636 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.1579, allocations: 0 / 0.6636 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003776/0.1582, allocations: 117.5 kB / 0.6637 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1583, allocations: 51.41 kB / 0.6637 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1584, allocations: 132 kB / 0.6639 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1585, allocations: 33.64 kB / 0.6639 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.1585, allocations: 96.09 kB / 0.664 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.1586, allocations: 19.83 kB / 0.664 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.1586, allocations: 17.72 kB / 0.664 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1587, allocations: 318.8 kB / 0.6643 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.1588, allocations: 28.17 kB / 0.6643 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.1589, allocations: 31.98 kB / 0.6644 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1591, allocations: 48.83 kB / 0.6644 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1591, allocations: 0 / 0.6644 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002372/0.1593, allocations: 93.55 kB / 0.6645 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1594, allocations: 8 kB / 0.6645 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1594, allocations: 4 kB / 0.6645 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1594, allocations: 0 / 0.6645 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1595, allocations: 15.98 kB / 0.6645 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1595, allocations: 0 / 0.6645 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.1596, allocations: 11.94 kB / 0.6645 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1596, allocations: 0 / 0.6645 GB, free: 8.285 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.237e-05/0.1597, allocations: 113.8 kB / 0.6647 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.1598, allocations: 7.953 kB / 0.6647 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.16, allocations: 101.9 kB / 0.6648 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.16, allocations: 0 / 0.6648 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.16, allocations: 4 kB / 0.6648 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.16, allocations: 3.938 kB / 0.6648 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.1602, allocations: 189.6 kB / 0.6649 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1603, allocations: 0 / 0.6649 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.1603, allocations: 12.25 kB / 0.665 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1604, allocations: 3.984 kB / 0.665 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1604, allocations: 4 kB / 0.665 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1604, allocations: 4 kB / 0.665 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1604, allocations: 0 / 0.665 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.1606, allocations: 195.3 kB / 0.6652 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.1607, allocations: 85 kB / 0.6652 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.1607, allocations: 4 kB / 0.6652 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.1608, allocations: 4 kB / 0.6652 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.1609, allocations: 15.92 kB / 0.6653 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1609, allocations: 0 / 0.6653 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.815e-05/0.161, allocations: 109.5 kB / 0.6654 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.161, allocations: 0 / 0.6654 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002342/0.1612, allocations: 16 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.0006155/0.1618, allocations: 0.7427 MB / 0.6661 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.162, allocations: 47.97 kB / 0.6662 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.162, allocations: 0 / 0.6662 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.522e-05/0.1621, allocations: 35.97 kB / 0.6662 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1624, allocations: 19.81 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.001597/0.164, allocations: 1.45 MB / 0.6676 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1643, allocations: 0.6885 MB / 0.6683 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.87e-05/0.1644, allocations: 15.98 kB / 0.6683 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.1644, allocations: 23.44 kB / 0.6683 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1645, allocations: 0 / 0.6683 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/0.2954, allocations: 2.297 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.316, allocations: 11.67 kB / 0.6706 GB, free: 2.02 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)