Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.00596/0.005961, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001274/0.001274, allocations: 192.4 kB / 16.67 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.817/0.817, allocations: 135.6 MB / 426.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 63.97 kB / 0.5857 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1466, allocations: 81.02 MB / 0.6649 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003302/0.1499, allocations: 2.112 MB / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1515, allocations: 1.029 MB / 0.6679 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.268e-05/0.1516, allocations: 11.88 kB / 0.668 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.598e-05/0.1517, allocations: 27.66 kB / 0.668 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.1519, allocations: 75.3 kB / 0.6681 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.1524, allocations: 203.4 kB / 0.6682 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.1527, allocations: 294.8 kB / 0.6685 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.1529, allocations: 68.78 kB / 0.6686 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.153, allocations: 107.6 kB / 0.6687 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.1533, allocations: 147.3 kB / 0.6688 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.1533, allocations: 20 kB / 0.6689 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004485/0.1538, allocations: 295.7 kB / 0.6691 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.1538, allocations: 47.77 kB / 0.6692 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.1539, allocations: 119.3 kB / 0.6693 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.1543, allocations: 334.5 kB / 0.6696 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1544, allocations: 0 / 0.6696 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1544, allocations: 0 / 0.6696 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.1544, allocations: 0 / 0.6696 GB, free: 0.7305 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001081/0.1555, allocations: 0.6307 MB / 0.6702 GB, free: 52 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1555, allocations: 17.09 kB / 0.6702 GB, free: 36 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.341e-05/0.1556, allocations: 46.75 kB / 0.6703 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.1558, allocations: 44.73 kB / 0.6703 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.1562, allocations: 287.7 kB / 0.6706 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1562, allocations: 16.41 kB / 0.6706 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.1563, allocations: 12 kB / 0.6706 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.1568, allocations: 233.1 kB / 0.6709 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1568, allocations: 0 / 0.6709 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.1569, allocations: 8 kB / 0.6709 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1569, allocations: 4 kB / 0.6709 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000681/0.1576, allocations: 195.8 kB / 0.6711 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.1587, allocations: 0.9423 MB / 0.672 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007723/0.1595, allocations: 245.2 kB / 0.6722 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.1599, allocations: 101.6 kB / 0.6723 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1599, allocations: 3.938 kB / 0.6723 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1599, allocations: 34.56 kB / 0.6723 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.1599, allocations: 4 kB / 0.6723 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.001187/0.1611, allocations: 342.1 kB / 0.6727 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.1612, allocations: 85.11 kB / 0.6728 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.1615, allocations: 263 kB / 0.673 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.1615, allocations: 29.7 kB / 0.673 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1616, allocations: 156.3 kB / 0.6732 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.1617, allocations: 63.47 kB / 0.6732 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/0.1617, allocations: 37.7 kB / 0.6733 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1619, allocations: 350.7 kB / 0.6736 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.1622, allocations: 91.84 kB / 0.6737 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.1626, allocations: 144 kB / 0.6738 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/0.1633, allocations: 233.8 kB / 0.6741 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1633, allocations: 0 / 0.6741 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008456/0.1642, allocations: 293.1 kB / 0.6743 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1642, allocations: 4 kB / 0.6743 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1642, allocations: 8 kB / 0.6744 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1642, allocations: 0 / 0.6744 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.1645, allocations: 72.03 kB / 0.6744 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1645, allocations: 4 kB / 0.6744 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.1648, allocations: 35.86 kB / 0.6745 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1648, allocations: 8 kB / 0.6745 GB, free: 11.44 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0001185/0.1649, allocations: 137.7 kB / 0.6746 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.165, allocations: 27.81 kB / 0.6746 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008419/0.1659, allocations: 287.3 kB / 0.6749 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1659, allocations: 12.08 kB / 0.6749 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1659, allocations: 3.938 kB / 0.6749 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1659, allocations: 3.984 kB / 0.6749 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.1663, allocations: 293.3 kB / 0.6752 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1663, allocations: 0 / 0.6752 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.1666, allocations: 59.89 kB / 0.6753 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1666, allocations: 0 / 0.6753 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1666, allocations: 4 kB / 0.6753 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1666, allocations: 0 / 0.6753 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.1666, allocations: 7.984 kB / 0.6753 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000879/0.1675, allocations: 448.6 kB / 0.6757 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.1676, allocations: 104.9 kB / 0.6758 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.1676, allocations: 7.984 kB / 0.6758 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.1679, allocations: 23.97 kB / 0.6758 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.168, allocations: 19.91 kB / 0.6758 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.168, allocations: 16 kB / 0.6759 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001894/0.1682, allocations: 190 kB / 0.676 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1682, allocations: 4 kB / 0.676 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003348/0.1685, allocations: 55.89 kB / 0.6761 GB, free: 9.668 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001237/0.1698, allocations: 0.9848 MB / 0.6771 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007567/0.1705, allocations: 227.9 kB / 0.6773 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1706, allocations: 4 kB / 0.6773 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.1709, allocations: 112.2 kB / 0.6774 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.1715, allocations: 79.72 kB / 0.6775 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.1756, allocations: 2.713 MB / 0.6801 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.1759, allocations: 0.7519 MB / 0.6808 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.176, allocations: 26.3 kB / 0.6809 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.1762, allocations: 87.41 kB / 0.681 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1762, allocations: 3.938 kB / 0.681 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.2037, allocations: 6.548 MB / 0.6874 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.155, allocations: 5.297 kB / 0.6874 GB, free: 14.13 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)