Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 110.6 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 245 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9167/0.9167, allocations: 132.2 MB / 429.4 MB, free: 6 MB / 334.1 MB " [Timeout remaining time 179] 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.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 65.61 kB / 0.5894 GB, free: 24.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1575, allocations: 80.21 MB / 0.6677 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006751/0.1643, allocations: 4.547 MB / 0.6722 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1656, allocations: 0.8224 MB / 0.673 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.1657, allocations: 0 / 0.673 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.1659, allocations: 31.78 kB / 0.673 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.436e-05/0.166, allocations: 35.69 kB / 0.673 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.1666, allocations: 167.4 kB / 0.6732 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.1668, allocations: 171.4 kB / 0.6733 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.1669, allocations: 13.41 kB / 0.6734 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.1671, allocations: 87.67 kB / 0.6734 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1672, allocations: 83.67 kB / 0.6735 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.1672, allocations: 12 kB / 0.6735 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003492/0.1676, allocations: 147.8 kB / 0.6737 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.1676, allocations: 39.89 kB / 0.6737 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.915e-05/0.1677, allocations: 67.66 kB / 0.6738 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.1681, allocations: 239.2 kB / 0.674 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1681, allocations: 0 / 0.674 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1681, allocations: 0 / 0.674 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.1682, allocations: 0 / 0.674 GB, free: 3.492 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009343/0.1691, allocations: 486.5 kB / 0.6745 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.1692, allocations: 12.03 kB / 0.6745 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.1692, allocations: 38.73 kB / 0.6745 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.1693, allocations: 20.78 kB / 0.6745 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1695, allocations: 184.2 kB / 0.6747 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1695, allocations: 15.94 kB / 0.6747 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1695, allocations: 12 kB / 0.6747 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.1698, allocations: 116 kB / 0.6748 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1699, allocations: 0 / 0.6748 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.1699, allocations: 11.98 kB / 0.6749 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1699, allocations: 0 / 0.6749 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.1703, allocations: 147.7 kB / 0.675 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1714, allocations: 468.5 kB / 0.6754 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.1717, allocations: 122.5 kB / 0.6756 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.1719, allocations: 72.81 kB / 0.6756 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/0.1734, allocations: 0.9682 MB / 0.6766 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.1735, allocations: 30.56 kB / 0.6766 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.394e-06/0.1735, allocations: 0 / 0.6766 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007004/0.1742, allocations: 209.5 kB / 0.6768 GB, free: 312 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1742, allocations: 55.41 kB / 0.6769 GB, free: 244 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1744, allocations: 159.3 kB / 0.677 GB, free: 76 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1744, allocations: 33.7 kB / 0.677 GB, free: 36 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/0.1745, allocations: 112.4 kB / 0.6771 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.1746, allocations: 39.64 kB / 0.6772 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/0.1747, allocations: 49.7 kB / 0.6772 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1748, allocations: 322.8 kB / 0.6775 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.1751, allocations: 83.88 kB / 0.6776 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.1753, allocations: 111.2 kB / 0.6777 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.1758, allocations: 179.8 kB / 0.6779 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1758, allocations: 0 / 0.6779 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005743/0.1764, allocations: 241.2 kB / 0.6781 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1764, allocations: 8.094 kB / 0.6781 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1764, allocations: 3.984 kB / 0.6781 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1764, allocations: 4 kB / 0.6781 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.1767, allocations: 55.91 kB / 0.6782 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1767, allocations: 4 kB / 0.6782 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1769, allocations: 27.83 kB / 0.6782 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.1769, allocations: 11.98 kB / 0.6782 GB, free: 14.76 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001086/0.177, allocations: 129.7 kB / 0.6784 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1771, allocations: 15.89 kB / 0.6784 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005928/0.1777, allocations: 174.2 kB / 0.6785 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1777, allocations: 3.938 kB / 0.6785 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1777, allocations: 8 kB / 0.6786 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1777, allocations: 0 / 0.6786 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.1779, allocations: 213.6 kB / 0.6788 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.178, allocations: 7.938 kB / 0.6788 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.1781, allocations: 31.91 kB / 0.6788 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1781, allocations: 4 kB / 0.6788 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1782, allocations: 0 / 0.6788 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1782, allocations: 0 / 0.6788 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1782, allocations: 0 / 0.6788 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.1787, allocations: 255.4 kB / 0.679 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.581e-05/0.1788, allocations: 112.9 kB / 0.6792 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1788, allocations: 0 / 0.6792 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.1789, allocations: 15.98 kB / 0.6792 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.179, allocations: 11.92 kB / 0.6792 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.179, allocations: 0 / 0.6792 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.543e-05/0.1791, allocations: 128.8 kB / 0.6793 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1791, allocations: 4 kB / 0.6793 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003386/0.1795, allocations: 59.88 kB / 0.6794 GB, free: 13.52 MB / 0.5137 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 (12): * Single equations (assignments): 12 * 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.001015/0.1805, allocations: 0.8409 MB / 0.6802 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005305/0.181, allocations: 171.9 kB / 0.6803 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1811, allocations: 3.938 kB / 0.6804 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.1813, allocations: 70.36 kB / 0.6804 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.1817, allocations: 19.97 kB / 0.6804 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.1845, allocations: 1.951 MB / 0.6823 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.1849, allocations: 0.7006 MB / 0.683 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.185, allocations: 20.47 kB / 0.683 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1851, allocations: 35.42 kB / 0.6831 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.1851, allocations: 4 kB / 0.6831 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.2116, allocations: 4.268 MB / 0.6873 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.022, allocations: 3.594 kB / 0.6873 GB, free: 5.457 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.70176194398664] Failed to read output from testmodel.py, exit status != 0: 8.088468237081543 8.102543631 7.931813055 Calling exit ...