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.001581/0.001581, allocations: 118 kB / 17.84 MB, free: 5.234 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.001914/0.001914, allocations: 203.8 kB / 20.79 MB, free: 2.297 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.423/1.423, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.9514/0.9514, allocations: 150 MB / 460.2 MB, free: 5.211 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",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.003387/0.003387, allocations: 64.56 kB / 0.6368 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1771, allocations: 89.13 MB / 0.7238 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007383/0.1844, allocations: 4.652 MB / 0.7284 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1857, allocations: 0.8061 MB / 0.7292 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.1858, allocations: 0 / 0.7292 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.186, allocations: 35.75 kB / 0.7292 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.948e-05/0.1861, allocations: 31.72 kB / 0.7292 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.1867, allocations: 175.3 kB / 0.7294 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.1869, allocations: 171.4 kB / 0.7296 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/0.187, allocations: 17.11 kB / 0.7296 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.1872, allocations: 83.69 kB / 0.7297 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1873, allocations: 83.67 kB / 0.7297 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.1874, allocations: 12 kB / 0.7298 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003827/0.1877, allocations: 155.8 kB / 0.7299 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.1878, allocations: 31.91 kB / 0.7299 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.561e-05/0.1879, allocations: 71.64 kB / 0.73 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.1882, allocations: 243.4 kB / 0.7302 GB, free: 13.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1882, allocations: 0 / 0.7302 GB, free: 13.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1882, allocations: 0 / 0.7302 GB, free: 13.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.1882, allocations: 4 kB / 0.7302 GB, free: 13.4 MB / 0.545 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.0009372/0.1892, allocations: 482.5 kB / 0.7307 GB, free: 12.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1892, allocations: 12.03 kB / 0.7307 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.434e-05/0.1892, allocations: 192 / 0.7307 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.1893, allocations: 42.75 kB / 0.7308 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.1893, allocations: 16.84 kB / 0.7308 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.1895, allocations: 191.2 kB / 0.731 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1895, allocations: 4 kB / 0.731 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.1895, allocations: 12 kB / 0.731 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.1899, allocations: 122.9 kB / 0.7311 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1899, allocations: 0 / 0.7311 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1899, allocations: 4 kB / 0.7311 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1899, allocations: 4 kB / 0.7311 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.1903, allocations: 143.9 kB / 0.7312 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009848/0.1913, allocations: 472.4 kB / 0.7317 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.1916, allocations: 114.5 kB / 0.7318 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.1918, allocations: 60.81 kB / 0.7318 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.1932, allocations: 0.9722 MB / 0.7328 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.1932, allocations: 38.55 kB / 0.7328 GB, free: 10.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1932, allocations: 0 / 0.7328 GB, free: 10.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0007009/0.1939, allocations: 213.4 kB / 0.733 GB, free: 10.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.194, allocations: 51.41 kB / 0.7331 GB, free: 10.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.1941, allocations: 164.8 kB / 0.7332 GB, free: 9.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.1942, allocations: 25.7 kB / 0.7333 GB, free: 9.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.1942, allocations: 116.4 kB / 0.7334 GB, free: 9.836 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.1943, allocations: 39.67 kB / 0.7334 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/0.1944, allocations: 53.66 kB / 0.7335 GB, free: 9.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1945, allocations: 326.8 kB / 0.7338 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.1947, allocations: 75.94 kB / 0.7339 GB, free: 9.336 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.195, allocations: 104.2 kB / 0.734 GB, free: 9.223 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.1954, allocations: 171.3 kB / 0.7341 GB, free: 9.043 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1954, allocations: 7.984 kB / 0.7341 GB, free: 9.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005814/0.196, allocations: 244.9 kB / 0.7344 GB, free: 8.793 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.196, allocations: 7.938 kB / 0.7344 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.196, allocations: 7.938 kB / 0.7344 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.196, allocations: 0 / 0.7344 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.1963, allocations: 51.95 kB / 0.7344 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1963, allocations: 4 kB / 0.7344 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.1965, allocations: 35.92 kB / 0.7345 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.1965, allocations: 8 kB / 0.7345 GB, free: 8.68 MB / 0.545 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.0001026/0.1966, allocations: 126.2 kB / 0.7346 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.1966, allocations: 19.83 kB / 0.7346 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.1971, allocations: 174.8 kB / 0.7348 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1971, allocations: 8 kB / 0.7348 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1971, allocations: 0 / 0.7348 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1972, allocations: 3.984 kB / 0.7348 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.1974, allocations: 213.5 kB / 0.735 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1974, allocations: 0 / 0.735 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.1975, allocations: 35.97 kB / 0.735 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1975, allocations: 0 / 0.735 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1976, allocations: 0 / 0.735 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1976, allocations: 0 / 0.735 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1976, allocations: 0 / 0.735 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.198, allocations: 269.7 kB / 0.7353 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.1981, allocations: 100.9 kB / 0.7354 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.1981, allocations: 4 kB / 0.7354 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1983, allocations: 15.97 kB / 0.7354 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1983, allocations: 15.98 kB / 0.7354 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.1983, allocations: 4 kB / 0.7354 GB, free: 7.609 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.753e-05/0.1984, allocations: 113.8 kB / 0.7355 GB, free: 7.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1984, allocations: 0 / 0.7355 GB, free: 7.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003244/0.1987, allocations: 59.88 kB / 0.7356 GB, free: 7.441 MB / 0.545 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.0009537/0.1997, allocations: 0.8487 MB / 0.7364 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005067/0.2002, allocations: 167.7 kB / 0.7366 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2002, allocations: 0 / 0.7366 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.2004, allocations: 63.89 kB / 0.7366 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.2007, allocations: 28.62 kB / 0.7367 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.2034, allocations: 1.958 MB / 0.7386 GB, free: 4.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.2038, allocations: 0.7122 MB / 0.7393 GB, free: 3.523 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.754e-05/0.2038, allocations: 21.06 kB / 0.7393 GB, free: 3.504 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.2039, allocations: 35.42 kB / 0.7393 GB, free: 3.469 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.2039, allocations: 0 / 0.7393 GB, free: 3.469 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.2246, allocations: 4.339 MB / 0.7436 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.445, allocations: 6.672 kB / 0.7436 GB, free: 15.29 MB / 0.5606 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.214991251996253] Failed to read output from testmodel.py, exit status != 0: 8.573611480998807 8.588987612 8.397707935 Calling exit ...