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.001326/0.001326, allocations: 112.5 kB / 15.73 MB, free: 76 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.001495/0.001495, allocations: 188.9 kB / 16.67 MB, free: 6.543 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7402/0.7402, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 72.05 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.137, allocations: 80.2 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002601/0.1397, allocations: 1.57 MB / 0.6607 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1411, allocations: 0.9045 MB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.356e-05/0.1412, allocations: 0 / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.1413, allocations: 7.875 kB / 0.6616 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1415, allocations: 23.78 kB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.1419, allocations: 141.8 kB / 0.6618 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.142, allocations: 79.66 kB / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.508e-05/0.1421, allocations: 12.27 kB / 0.6619 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.229e-05/0.1422, allocations: 35.86 kB / 0.6619 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1423, allocations: 39.83 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1424, allocations: 4 kB / 0.6619 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.1427, allocations: 287.6 kB / 0.6622 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.1428, allocations: 7.938 kB / 0.6622 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.1428, allocations: 27.86 kB / 0.6622 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.1431, allocations: 159.3 kB / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1431, allocations: 0 / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1431, allocations: 0 / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1431, allocations: 0 / 0.6624 GB, free: 10.73 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.0005366/0.1436, allocations: 414.8 kB / 0.6628 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1437, allocations: 8.031 kB / 0.6628 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.1437, allocations: 34.75 kB / 0.6628 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1438, allocations: 12.89 kB / 0.6628 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.1441, allocations: 197.5 kB / 0.663 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1441, allocations: 12.12 kB / 0.663 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1441, allocations: 0 / 0.663 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1443, allocations: 57.67 kB / 0.6631 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1443, allocations: 0 / 0.6631 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1443, allocations: 7.984 kB / 0.6631 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1443, allocations: 4 kB / 0.6631 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1445, allocations: 39.97 kB / 0.6632 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.1449, allocations: 288.8 kB / 0.6634 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.145, allocations: 62.48 kB / 0.6635 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.1451, allocations: 24.97 kB / 0.6635 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1452, allocations: 8.062 kB / 0.6635 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.1452, allocations: 38.56 kB / 0.6636 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1452, allocations: 0 / 0.6636 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003574/0.1456, allocations: 113.5 kB / 0.6637 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.1456, allocations: 55.34 kB / 0.6637 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1457, allocations: 135.6 kB / 0.6638 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1457, allocations: 29.7 kB / 0.6639 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.1458, allocations: 92.09 kB / 0.664 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.1458, allocations: 23.83 kB / 0.664 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.1458, allocations: 13.72 kB / 0.664 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.1459, allocations: 322.8 kB / 0.6643 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.146, allocations: 23.98 kB / 0.6643 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.1461, allocations: 23.98 kB / 0.6644 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1463, allocations: 52.83 kB / 0.6644 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1463, allocations: 0 / 0.6644 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002259/0.1465, allocations: 93.55 kB / 0.6645 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1465, allocations: 4 kB / 0.6645 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1465, allocations: 4 kB / 0.6645 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1465, allocations: 0 / 0.6645 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1467, allocations: 15.98 kB / 0.6645 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1467, allocations: 0 / 0.6645 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.1468, allocations: 11.94 kB / 0.6645 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.1468, allocations: 0 / 0.6645 GB, free: 8.32 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.035e-05/0.1468, allocations: 117.8 kB / 0.6646 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.1469, allocations: 11.94 kB / 0.6646 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.1471, allocations: 102.3 kB / 0.6647 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1472, allocations: 3.984 kB / 0.6648 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1472, allocations: 0 / 0.6648 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1472, allocations: 4 kB / 0.6648 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1474, allocations: 189.6 kB / 0.6649 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1474, allocations: 4 kB / 0.6649 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.433e-05/0.1474, allocations: 8 kB / 0.6649 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1475, allocations: 3.984 kB / 0.665 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1475, allocations: 4 kB / 0.665 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1475, allocations: 4 kB / 0.665 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1475, allocations: 0 / 0.665 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1477, allocations: 191.3 kB / 0.6651 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.1478, allocations: 89 kB / 0.6652 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1478, allocations: 4 kB / 0.6652 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.1479, allocations: 4 kB / 0.6652 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.1479, allocations: 15.86 kB / 0.6652 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.148, allocations: 4 kB / 0.6653 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.759e-05/0.148, allocations: 101.8 kB / 0.6653 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.148, allocations: 0 / 0.6653 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002452/0.1483, allocations: 20 kB / 0.6654 GB, free: 7.355 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.0005373/0.1488, allocations: 0.7319 MB / 0.6661 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.149, allocations: 59.91 kB / 0.6661 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.149, allocations: 0 / 0.6661 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/0.1491, allocations: 27.97 kB / 0.6662 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1494, allocations: 11.94 kB / 0.6662 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1509, allocations: 1.463 MB / 0.6676 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.1512, allocations: 0.6924 MB / 0.6683 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.806e-05/0.1512, allocations: 7.984 kB / 0.6683 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.1513, allocations: 23.44 kB / 0.6683 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1513, allocations: 0 / 0.6683 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.1689, allocations: 2.299 MB / 0.6706 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/7.362, allocations: 7.953 kB / 0.6706 GB, free: 2.051 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)