Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 104.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002428/0.002428, allocations: 293.8 kB / 309.1 MB, free: 3.969 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.174/1.174, allocations: 180.9 MB / 0.5333 GB, free: 13.86 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 97.34 kB / 0.7343 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.167, allocations: 95.34 MB / 0.8274 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006091/0.1731, allocations: 4.639 MB / 0.8319 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1742, allocations: 0.8224 MB / 0.8327 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.1743, allocations: 3.938 kB / 0.8327 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.1744, allocations: 23.84 kB / 0.8327 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.1745, allocations: 39.64 kB / 0.8328 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.175, allocations: 171.4 kB / 0.8329 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1752, allocations: 175.4 kB / 0.8331 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.1753, allocations: 16.89 kB / 0.8331 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.1754, allocations: 87.75 kB / 0.8332 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.1755, allocations: 75.67 kB / 0.8333 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.1756, allocations: 12 kB / 0.8333 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.1759, allocations: 163.7 kB / 0.8334 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.1759, allocations: 31.91 kB / 0.8335 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.412e-05/0.176, allocations: 67.72 kB / 0.8335 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.1763, allocations: 239.5 kB / 0.8338 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1764, allocations: 0 / 0.8338 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1764, allocations: 0 / 0.8338 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1764, allocations: 0 / 0.8338 GB, free: 3.316 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.0008923/0.1773, allocations: 494.5 kB / 0.8342 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1773, allocations: 12.02 kB / 0.8342 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.1773, allocations: 38.75 kB / 0.8343 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.1774, allocations: 12.84 kB / 0.8343 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.1775, allocations: 184.2 kB / 0.8345 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1776, allocations: 8.375 kB / 0.8345 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.1776, allocations: 12.38 kB / 0.8345 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.1779, allocations: 127 kB / 0.8346 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.1779, allocations: 0 / 0.8346 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1779, allocations: 0 / 0.8346 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.1779, allocations: 0 / 0.8346 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.1783, allocations: 143.8 kB / 0.8347 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009446/0.1793, allocations: 472.4 kB / 0.8352 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.1796, allocations: 114.5 kB / 0.8353 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.1798, allocations: 60.81 kB / 0.8354 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/0.1812, allocations: 0.9683 MB / 0.8363 GB, free: 416 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1812, allocations: 38.5 kB / 0.8363 GB, free: 368 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.1812, allocations: 7.938 kB / 0.8363 GB, free: 360 kB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0006874/0.1819, allocations: 205.5 kB / 0.8365 GB, free: 148 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.1819, allocations: 51.41 kB / 0.8366 GB, free: 84 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.1821, allocations: 180.4 kB / 0.8368 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.1821, allocations: 29.7 kB / 0.8368 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.1822, allocations: 108.4 kB / 0.8369 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.1822, allocations: 35.66 kB / 0.8369 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.1823, allocations: 53.69 kB / 0.837 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1824, allocations: 322.8 kB / 0.8373 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.1827, allocations: 75.89 kB / 0.8374 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.1829, allocations: 118.8 kB / 0.8375 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.1834, allocations: 177.9 kB / 0.8376 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1834, allocations: 0 / 0.8376 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005724/0.184, allocations: 245.3 kB / 0.8379 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.184, allocations: 4 kB / 0.8379 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.184, allocations: 12.03 kB / 0.8379 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.184, allocations: 0 / 0.8379 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.1843, allocations: 59.89 kB / 0.838 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1843, allocations: 7.984 kB / 0.838 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.1844, allocations: 27.83 kB / 0.838 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.1844, allocations: 8 kB / 0.838 GB, free: 14.59 MB / 0.5919 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.0001022/0.1845, allocations: 125.8 kB / 0.8381 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.1846, allocations: 7.953 kB / 0.8381 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/0.1851, allocations: 179.3 kB / 0.8383 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1851, allocations: 4 kB / 0.8383 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1851, allocations: 0 / 0.8383 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1851, allocations: 0 / 0.8383 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.1853, allocations: 225.5 kB / 0.8385 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1853, allocations: 0 / 0.8385 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1855, allocations: 39.92 kB / 0.8385 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1855, allocations: 0 / 0.8385 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1855, allocations: 3.938 kB / 0.8386 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1855, allocations: 3.984 kB / 0.8386 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1855, allocations: 0 / 0.8386 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.186, allocations: 259.4 kB / 0.8388 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.186, allocations: 104.9 kB / 0.8389 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1861, allocations: 3.938 kB / 0.8389 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1862, allocations: 11.98 kB / 0.8389 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.1863, allocations: 11.98 kB / 0.8389 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.1863, allocations: 4 kB / 0.8389 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.187e-05/0.1864, allocations: 116 kB / 0.839 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1864, allocations: 3.938 kB / 0.839 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003247/0.1867, allocations: 63.86 kB / 0.8391 GB, free: 13.35 MB / 0.5919 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.0009441/0.1876, allocations: 0.8449 MB / 0.8399 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005115/0.1881, allocations: 166.8 kB / 0.8401 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1881, allocations: 0 / 0.8401 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.1883, allocations: 67.88 kB / 0.8402 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1887, allocations: 26.81 kB / 0.8402 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.1913, allocations: 1.962 MB / 0.8421 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1916, allocations: 0.7006 MB / 0.8428 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.049e-05/0.1917, allocations: 29.39 kB / 0.8428 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.35e-05/0.1918, allocations: 36.56 kB / 0.8428 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1918, allocations: 0 / 0.8428 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.2196, allocations: 4.321 MB / 0.8471 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/7.969, allocations: 3.938 kB / 0.8471 GB, free: 5.227 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.040304815862328] Failed to read output from testmodel.py, exit status != 0: 8.03442021785304 8.047711794 7.868711142 Calling exit ...