Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001339/0.001339, allocations: 100.2 kB / 16.39 MB, free: 6.371 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.00132/0.00132, allocations: 192.6 kB / 19.35 MB, free: 3.836 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.372/1.372, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 173.4 MB / 470.7 MB, free: 13.6 MB / 382.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-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.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 67.58 kB / 0.6478 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1725, allocations: 89.53 MB / 0.7353 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005822/0.1784, allocations: 4.557 MB / 0.7397 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1795, allocations: 0.8139 MB / 0.7405 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.1795, allocations: 0 / 0.7405 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.1797, allocations: 27.77 kB / 0.7405 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.807e-05/0.1798, allocations: 35.7 kB / 0.7406 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.1802, allocations: 171.4 kB / 0.7407 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.1805, allocations: 175.4 kB / 0.7409 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.1806, allocations: 21.09 kB / 0.7409 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.1807, allocations: 83.69 kB / 0.741 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1808, allocations: 79.67 kB / 0.7411 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.1809, allocations: 16 kB / 0.7411 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.1812, allocations: 151.8 kB / 0.7412 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.467e-05/0.1812, allocations: 31.91 kB / 0.7413 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.738e-05/0.1813, allocations: 71.64 kB / 0.7413 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.1817, allocations: 227.2 kB / 0.7415 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1817, allocations: 0 / 0.7415 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.036e-06/0.1817, allocations: 4 kB / 0.7416 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.1817, allocations: 7.938 kB / 0.7416 GB, free: 11.71 MB / 0.5762 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.0008331/0.1825, allocations: 482.5 kB / 0.742 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1826, allocations: 8.031 kB / 0.742 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.1826, allocations: 42.73 kB / 0.7421 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.1827, allocations: 16.84 kB / 0.7421 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1828, allocations: 183.5 kB / 0.7423 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1829, allocations: 11.94 kB / 0.7423 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1829, allocations: 12 kB / 0.7423 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.1832, allocations: 120 kB / 0.7424 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1832, allocations: 3.938 kB / 0.7424 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1833, allocations: 4 kB / 0.7424 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1833, allocations: 4 kB / 0.7424 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.1837, allocations: 143.9 kB / 0.7425 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009657/0.1847, allocations: 464.5 kB / 0.743 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.185, allocations: 122.5 kB / 0.7431 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.1852, allocations: 76.75 kB / 0.7432 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/0.1866, allocations: 0.9643 MB / 0.7441 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1866, allocations: 38.55 kB / 0.7442 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1866, allocations: 0 / 0.7442 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.000664/0.1873, allocations: 209.5 kB / 0.7444 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.1874, allocations: 51.41 kB / 0.7444 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1875, allocations: 164.3 kB / 0.7446 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.1876, allocations: 33.69 kB / 0.7446 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.1876, allocations: 116.2 kB / 0.7447 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.1877, allocations: 43.67 kB / 0.7447 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.264e-05/0.1878, allocations: 49.69 kB / 0.7448 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002382/0.188, allocations: 330.8 kB / 0.7451 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.1882, allocations: 75.89 kB / 0.7452 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.1885, allocations: 114.6 kB / 0.7453 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.1889, allocations: 175.2 kB / 0.7455 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1889, allocations: 0 / 0.7455 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006988/0.1896, allocations: 248.5 kB / 0.7457 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1897, allocations: 8 kB / 0.7457 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1897, allocations: 0 / 0.7457 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1897, allocations: 0 / 0.7457 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.19, allocations: 59.91 kB / 0.7458 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.19, allocations: 3.984 kB / 0.7458 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.1901, allocations: 35.77 kB / 0.7458 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.1902, allocations: 4 kB / 0.7458 GB, free: 6.98 MB / 0.5762 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.0001058/0.1903, allocations: 133.9 kB / 0.7459 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.1903, allocations: 15.84 kB / 0.7459 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.1908, allocations: 175.4 kB / 0.7461 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1908, allocations: 0 / 0.7461 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1908, allocations: 0 / 0.7461 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1908, allocations: 4 kB / 0.7461 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.1911, allocations: 209.6 kB / 0.7463 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1911, allocations: 3.938 kB / 0.7463 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.1912, allocations: 39.91 kB / 0.7464 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1913, allocations: 0 / 0.7464 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1913, allocations: 0 / 0.7464 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1913, allocations: 4 kB / 0.7464 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1913, allocations: 0 / 0.7464 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.1917, allocations: 263.4 kB / 0.7466 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.1918, allocations: 104.9 kB / 0.7467 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.1919, allocations: 0 / 0.7467 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.192, allocations: 15.92 kB / 0.7467 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.1921, allocations: 11.98 kB / 0.7467 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.1921, allocations: 7.938 kB / 0.7467 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.08e-05/0.1922, allocations: 120 kB / 0.7469 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1922, allocations: 0 / 0.7469 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003078/0.1925, allocations: 63.8 kB / 0.7469 GB, free: 5.734 MB / 0.5762 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.001045/0.1935, allocations: 0.8467 MB / 0.7477 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004978/0.194, allocations: 171.8 kB / 0.7479 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1941, allocations: 0 / 0.7479 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.1942, allocations: 59.95 kB / 0.748 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1946, allocations: 28.16 kB / 0.748 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.1972, allocations: 1.956 MB / 0.7499 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1976, allocations: 0.7045 MB / 0.7506 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.303e-05/0.1977, allocations: 17.47 kB / 0.7506 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.1978, allocations: 39.42 kB / 0.7506 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.1978, allocations: 0 / 0.7506 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3521/0.5498, allocations: 4.263 MB / 0.7548 GB, free: 18.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.274, allocations: 7.203 kB / 0.7548 GB, free: 18.45 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.91516404505819] Failed to read output from testmodel.py, exit status != 0: 8.338775407057256 8.350288913 8.166286782 Calling exit ...