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.00142/0.00142, allocations: 108 kB / 15.6 MB, free: 132 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.001618/0.001618, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.726/0.726, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.67 kB / 0.5019 GB, free: 8.594 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1329, allocations: 80.19 MB / 0.5802 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002431/0.1354, allocations: 1.581 MB / 0.5817 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1366, allocations: 0.9062 MB / 0.5826 GB, free: 6.109 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.1366, allocations: 0 / 0.5826 GB, free: 6.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.1367, allocations: 7.875 kB / 0.5826 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.1368, allocations: 19.8 kB / 0.5826 GB, free: 6.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.1371, allocations: 143.6 kB / 0.5828 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1373, allocations: 79.72 kB / 0.5829 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.1374, allocations: 8 kB / 0.5829 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.1374, allocations: 35.84 kB / 0.5829 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.1376, allocations: 43.78 kB / 0.5829 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1376, allocations: 4 kB / 0.5829 GB, free: 5.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.1379, allocations: 283.6 kB / 0.5832 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.138, allocations: 4 kB / 0.5832 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.138, allocations: 35.8 kB / 0.5833 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1382, allocations: 147.9 kB / 0.5834 GB, free: 5.312 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1382, allocations: 0 / 0.5834 GB, free: 5.312 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1382, allocations: 0 / 0.5834 GB, free: 5.312 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1382, allocations: 0 / 0.5834 GB, free: 5.312 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.0004994/0.1387, allocations: 415 kB / 0.5838 GB, free: 4.859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.1388, allocations: 12.03 kB / 0.5838 GB, free: 4.848 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.1388, allocations: 34.75 kB / 0.5838 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.845e-05/0.1389, allocations: 8.844 kB / 0.5838 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.1391, allocations: 192.1 kB / 0.584 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.1391, allocations: 384 / 0.584 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1391, allocations: 11.94 kB / 0.584 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1393, allocations: 61.61 kB / 0.5841 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1393, allocations: 0 / 0.5841 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1393, allocations: 0 / 0.5841 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1393, allocations: 8 kB / 0.5841 GB, free: 4.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.1395, allocations: 43.95 kB / 0.5841 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.1398, allocations: 288.8 kB / 0.5844 GB, free: 4.109 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.14, allocations: 66.48 kB / 0.5845 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.359e-05/0.1401, allocations: 24.97 kB / 0.5845 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.1401, allocations: 4 kB / 0.5845 GB, free: 4.004 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1401, allocations: 34.56 kB / 0.5845 GB, free: 3.961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.314e-06/0.1401, allocations: 3.984 kB / 0.5846 GB, free: 3.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003214/0.1405, allocations: 105.5 kB / 0.5847 GB, free: 3.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.1405, allocations: 59.34 kB / 0.5847 GB, free: 3.777 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.3e-05/0.1406, allocations: 128 kB / 0.5848 GB, free: 3.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1406, allocations: 37.64 kB / 0.5849 GB, free: 3.602 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.1407, allocations: 88.14 kB / 0.585 GB, free: 3.512 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.1407, allocations: 23.64 kB / 0.585 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.1407, allocations: 17.72 kB / 0.585 GB, free: 3.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.1408, allocations: 326.8 kB / 0.5853 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-05/0.1409, allocations: 23.98 kB / 0.5853 GB, free: 3.113 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.141, allocations: 23.98 kB / 0.5853 GB, free: 3.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.1411, allocations: 53.2 kB / 0.5854 GB, free: 3.035 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1412, allocations: 0 / 0.5854 GB, free: 3.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002082/0.1414, allocations: 85.67 kB / 0.5855 GB, free: 2.945 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.1414, allocations: 4 kB / 0.5855 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1414, allocations: 3.984 kB / 0.5855 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.1414, allocations: 4 kB / 0.5855 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1415, allocations: 15.94 kB / 0.5855 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1415, allocations: 7.922 kB / 0.5855 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.092e-05/0.1416, allocations: 11.84 kB / 0.5855 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1416, allocations: 4 kB / 0.5855 GB, free: 2.895 MB / 494.1 MB 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.386e-05/0.1417, allocations: 109.8 kB / 0.5856 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.1417, allocations: 11.91 kB / 0.5856 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.142, allocations: 102 kB / 0.5857 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.142, allocations: 0 / 0.5857 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.142, allocations: 0 / 0.5857 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.142, allocations: 7.875 kB / 0.5858 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.1422, allocations: 177.6 kB / 0.5859 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1422, allocations: 4 kB / 0.5859 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-05/0.1423, allocations: 11.98 kB / 0.5859 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1423, allocations: 0 / 0.5859 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1423, allocations: 7.984 kB / 0.5859 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1423, allocations: 4 kB / 0.5859 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1423, allocations: 0 / 0.5859 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1426, allocations: 183.4 kB / 0.5861 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.1426, allocations: 89 kB / 0.5862 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1426, allocations: 192 / 0.5862 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.635e-05/0.1427, allocations: 12 kB / 0.5862 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.1428, allocations: 7.984 kB / 0.5862 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1428, allocations: 7.938 kB / 0.5862 GB, free: 2.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.198e-05/0.1428, allocations: 105.1 kB / 0.5863 GB, free: 1.969 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1428, allocations: 0 / 0.5863 GB, free: 1.969 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1431, allocations: 23.94 kB / 0.5864 GB, free: 1.945 MB / 494.1 MB 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.000522/0.1436, allocations: 0.7358 MB / 0.5871 GB, free: 1.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1438, allocations: 63.91 kB / 0.5871 GB, free: 1.117 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1438, allocations: 0 / 0.5871 GB, free: 1.117 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.964e-05/0.1439, allocations: 23.98 kB / 0.5872 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.1442, allocations: 15.92 kB / 0.5872 GB, free: 1.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.1456, allocations: 1.447 MB / 0.5886 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.1459, allocations: 0.6978 MB / 0.5893 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.265e-05/0.1459, allocations: 7.688 kB / 0.5893 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.146, allocations: 27.42 kB / 0.5893 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.146, allocations: 0 / 0.5893 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01868/0.1647, allocations: 2.259 MB / 0.5915 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/7.064, allocations: 14.47 kB / 0.5915 GB, free: 12.65 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)