Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00162/0.00162, allocations: 119 kB / 19.69 MB, free: 2.199 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.001987/0.001987, allocations: 222.6 kB / 23.01 MB, free: 5.047 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9141/0.9141, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00209/0.00209, allocations: 68.02 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.173, allocations: 89.17 MB / 0.7284 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007267/0.1803, allocations: 4.668 MB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1815, allocations: 0.8216 MB / 0.7337 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1816, allocations: 0 / 0.7337 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.1819, allocations: 39.77 kB / 0.7338 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.885e-05/0.1819, allocations: 31.7 kB / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006605/0.1826, allocations: 167.4 kB / 0.7339 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.1829, allocations: 179.4 kB / 0.7341 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.183, allocations: 13.3 kB / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.1832, allocations: 87.64 kB / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1834, allocations: 79.72 kB / 0.7343 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.1834, allocations: 12 kB / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.1838, allocations: 155.8 kB / 0.7345 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.934e-05/0.1838, allocations: 31.91 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.452e-05/0.1839, allocations: 67.66 kB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.1844, allocations: 251.4 kB / 0.7348 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1844, allocations: 0 / 0.7348 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1844, allocations: 4 kB / 0.7348 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.1844, allocations: 0 / 0.7348 GB, free: 10.68 MB / 0.5606 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.0009701/0.1854, allocations: 405.4 kB / 0.7352 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1854, allocations: 12.03 kB / 0.7352 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.1855, allocations: 38.69 kB / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.1855, allocations: 20.84 kB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.1857, allocations: 122.4 kB / 0.7354 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.1857, allocations: 11.94 kB / 0.7354 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.1857, allocations: 12 kB / 0.7354 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.186, allocations: 117.5 kB / 0.7355 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1861, allocations: 0 / 0.7355 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1861, allocations: 3.938 kB / 0.7355 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1861, allocations: 0 / 0.7355 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.1865, allocations: 151.9 kB / 0.7356 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1875, allocations: 435.5 kB / 0.7361 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.1878, allocations: 122.4 kB / 0.7362 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.188, allocations: 64.81 kB / 0.7362 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.1892, allocations: 0.4959 MB / 0.7367 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1893, allocations: 38.56 kB / 0.7368 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.1893, allocations: 0 / 0.7368 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0006892/0.19, allocations: 209.5 kB / 0.737 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.19, allocations: 59.28 kB / 0.737 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1902, allocations: 163.3 kB / 0.7372 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.1902, allocations: 25.7 kB / 0.7372 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.1903, allocations: 112.4 kB / 0.7373 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.1903, allocations: 43.69 kB / 0.7373 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.1904, allocations: 49.64 kB / 0.7374 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1905, allocations: 326.8 kB / 0.7377 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.1908, allocations: 75.94 kB / 0.7378 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.191, allocations: 105.3 kB / 0.7379 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.1914, allocations: 178.3 kB / 0.738 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1914, allocations: 0 / 0.738 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005986/0.192, allocations: 245.2 kB / 0.7383 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1921, allocations: 11.98 kB / 0.7383 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1921, allocations: 0 / 0.7383 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1921, allocations: 0 / 0.7383 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.1924, allocations: 55.91 kB / 0.7383 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1924, allocations: 0 / 0.7383 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.1925, allocations: 31.83 kB / 0.7384 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.1926, allocations: 16.08 kB / 0.7384 GB, free: 6.758 MB / 0.5606 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.0001098/0.1927, allocations: 125.8 kB / 0.7385 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.1927, allocations: 15.84 kB / 0.7385 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.1932, allocations: 180 kB / 0.7387 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1932, allocations: 0 / 0.7387 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1932, allocations: 4 kB / 0.7387 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1932, allocations: 0 / 0.7387 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.1934, allocations: 184.7 kB / 0.7389 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1934, allocations: 3.938 kB / 0.7389 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.1936, allocations: 35.91 kB / 0.7389 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1936, allocations: 0 / 0.7389 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1936, allocations: 4 kB / 0.7389 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1936, allocations: 4 kB / 0.7389 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1936, allocations: 0 / 0.7389 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.1941, allocations: 255.3 kB / 0.7392 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.1941, allocations: 31.75 kB / 0.7392 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1942, allocations: 8 kB / 0.7392 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1943, allocations: 7.984 kB / 0.7392 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.1944, allocations: 15.98 kB / 0.7392 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1944, allocations: 11.92 kB / 0.7392 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.195e-05/0.1945, allocations: 115.9 kB / 0.7394 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1945, allocations: 0 / 0.7394 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003378/0.1948, allocations: 63.86 kB / 0.7394 GB, free: 5.641 MB / 0.5606 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.0009635/0.1958, allocations: 0.839 MB / 0.7402 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.1963, allocations: 171.6 kB / 0.7404 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1963, allocations: 0 / 0.7404 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.1964, allocations: 59.95 kB / 0.7405 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.1968, allocations: 24.17 kB / 0.7405 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.1995, allocations: 1.96 MB / 0.7424 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.1998, allocations: 0.7122 MB / 0.7431 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.811e-05/0.1999, allocations: 20.14 kB / 0.7431 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.2, allocations: 35.42 kB / 0.7431 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2, allocations: 4 kB / 0.7431 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.2323, allocations: 4.441 MB / 0.7475 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.02, allocations: 5.625 kB / 0.7475 GB, free: 13.4 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.851647552801296] Failed to read output from testmodel.py, exit status != 0: 11.127058842917904 11.431106504 10.963360029 Calling exit ...