Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001447/0.001447, 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.001732/0.001732, allocations: 223.8 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9599/0.9599, allocations: 150 MB / 463.2 MB, free: 10.46 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.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.00193/0.00193, allocations: 69.72 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1783, allocations: 89.17 MB / 0.7284 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003394/0.1817, allocations: 2.148 MB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1836, allocations: 1.094 MB / 0.7315 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.1838, allocations: 7.938 kB / 0.7315 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.657e-05/0.1839, allocations: 23.67 kB / 0.7316 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.1842, allocations: 79.28 kB / 0.7316 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.1848, allocations: 199.4 kB / 0.7318 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004098/0.1852, allocations: 298.8 kB / 0.7321 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1853, allocations: 50.11 kB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.1855, allocations: 103.6 kB / 0.7323 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.1858, allocations: 143.3 kB / 0.7324 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.1859, allocations: 24 kB / 0.7324 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004921/0.1864, allocations: 303.6 kB / 0.7327 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.1864, allocations: 43.78 kB / 0.7327 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1865, allocations: 115.3 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.187, allocations: 334.6 kB / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.187, allocations: 7.938 kB / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.187, allocations: 0 / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.1871, allocations: 0 / 0.7332 GB, free: 12.27 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001146/0.1882, allocations: 0.5631 MB / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1883, allocations: 8.031 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.1883, allocations: 46.73 kB / 0.7338 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.1885, allocations: 44.73 kB / 0.7338 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.189, allocations: 225.4 kB / 0.734 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.189, allocations: 16.41 kB / 0.7341 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.189, allocations: 16 kB / 0.7341 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.1895, allocations: 224.7 kB / 0.7343 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1895, allocations: 3.938 kB / 0.7343 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.1896, allocations: 8 kB / 0.7343 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1896, allocations: 4 kB / 0.7343 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006173/0.1902, allocations: 199.8 kB / 0.7345 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.1914, allocations: 0.9142 MB / 0.7354 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007669/0.1922, allocations: 237.2 kB / 0.7356 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.1925, allocations: 97.64 kB / 0.7357 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1925, allocations: 4 kB / 0.7357 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1926, allocations: 30.56 kB / 0.7357 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.1926, allocations: 8 kB / 0.7357 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001123/0.1937, allocations: 341.5 kB / 0.7361 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.1937, allocations: 81.05 kB / 0.7361 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.194, allocations: 268.2 kB / 0.7364 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1941, allocations: 29.7 kB / 0.7364 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1942, allocations: 160.3 kB / 0.7366 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.1942, allocations: 51.53 kB / 0.7366 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/0.1943, allocations: 41.7 kB / 0.7367 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1945, allocations: 338.8 kB / 0.737 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.1948, allocations: 95.91 kB / 0.7371 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.1951, allocations: 141.9 kB / 0.7372 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006303/0.1957, allocations: 241.8 kB / 0.7375 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.1957, allocations: 0 / 0.7375 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008359/0.1966, allocations: 289.1 kB / 0.7377 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1966, allocations: 8 kB / 0.7377 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1966, allocations: 0.7031 kB / 0.7377 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1966, allocations: 4 kB / 0.7377 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.1969, allocations: 68.03 kB / 0.7378 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1969, allocations: 4 kB / 0.7378 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.1971, allocations: 39.8 kB / 0.7378 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1972, allocations: 8 kB / 0.7379 GB, free: 7.188 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001493/0.1973, allocations: 145.6 kB / 0.738 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1974, allocations: 27.81 kB / 0.738 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007904/0.1982, allocations: 295.2 kB / 0.7383 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1982, allocations: 4 kB / 0.7383 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1982, allocations: 4 kB / 0.7383 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1982, allocations: 0 / 0.7383 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.1986, allocations: 264.5 kB / 0.7386 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1986, allocations: 0 / 0.7386 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.1989, allocations: 55.89 kB / 0.7386 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1989, allocations: 0 / 0.7386 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.1989, allocations: 11.98 kB / 0.7386 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1989, allocations: 0 / 0.7386 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1989, allocations: 0 / 0.7386 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.1997, allocations: 449 kB / 0.7391 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.1998, allocations: 31.78 kB / 0.7391 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.1998, allocations: 0 / 0.7391 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.2, allocations: 27.97 kB / 0.7391 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/0.2001, allocations: 19.91 kB / 0.7391 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.2001, allocations: 4 kB / 0.7391 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001825/0.2003, allocations: 191.1 kB / 0.7393 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2003, allocations: 0 / 0.7393 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003583/0.2007, allocations: 67.89 kB / 0.7394 GB, free: 5.547 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001212/0.2019, allocations: 0.9964 MB / 0.7404 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007231/0.2026, allocations: 220.1 kB / 0.7406 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2026, allocations: 0 / 0.7406 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.2029, allocations: 116 kB / 0.7407 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.2035, allocations: 69.31 kB / 0.7407 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.2077, allocations: 2.696 MB / 0.7434 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.2081, allocations: 0.7519 MB / 0.7441 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.2083, allocations: 38.27 kB / 0.7441 GB, free: 500 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.2084, allocations: 87.41 kB / 0.7442 GB, free: 412 kB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.2084, allocations: 0 / 0.7442 GB, free: 412 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03745/0.2459, allocations: 6.796 MB / 0.7509 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.34, allocations: 15.61 kB / 0.7509 GB, free: 9.816 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --stepSize=0.032 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.3656662190333] Failed to read output from testmodel.py, exit status != 0: 11.44323582504876 11.763354683 11.573654453 Calling exit ...