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.001345/0.001345, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.001479/0.001479, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.424/1.424, allocations: 230.6 MB / 253.5 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.9801/0.9801, allocations: 150 MB / 459.5 MB, free: 5.32 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.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.001989/0.001989, allocations: 70.09 kB / 0.6361 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.169, allocations: 89.13 MB / 0.7232 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003464/0.1725, allocations: 2.136 MB / 0.7253 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1744, allocations: 1.09 MB / 0.7263 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1745, allocations: 7.938 kB / 0.7263 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.35e-05/0.1745, allocations: 23.67 kB / 0.7264 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1748, allocations: 83.28 kB / 0.7264 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.1753, allocations: 191.5 kB / 0.7266 GB, free: 476 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.1757, allocations: 298.7 kB / 0.7269 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.1758, allocations: 48.94 kB / 0.7269 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.176, allocations: 111.6 kB / 0.7271 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.1762, allocations: 135.5 kB / 0.7272 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.1763, allocations: 20 kB / 0.7272 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004372/0.1767, allocations: 299.5 kB / 0.7275 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.1767, allocations: 51.75 kB / 0.7275 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1769, allocations: 123.3 kB / 0.7277 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.1773, allocations: 330.5 kB / 0.728 GB, free: 15.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1773, allocations: 4 kB / 0.728 GB, free: 15.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1773, allocations: 0 / 0.728 GB, free: 15.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.1773, allocations: 0 / 0.728 GB, free: 15.07 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001176/0.1785, allocations: 0.6384 MB / 0.7286 GB, free: 14.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1785, allocations: 8.031 kB / 0.7286 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.766e-05/0.1786, allocations: 46.73 kB / 0.7286 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.1788, allocations: 36.75 kB / 0.7287 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.1792, allocations: 295.7 kB / 0.729 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1793, allocations: 12.41 kB / 0.729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.1793, allocations: 16 kB / 0.729 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.1798, allocations: 228.6 kB / 0.7292 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1799, allocations: 4 kB / 0.7292 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.1799, allocations: 8 kB / 0.7292 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.1799, allocations: 4 kB / 0.7292 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006853/0.1806, allocations: 203.7 kB / 0.7294 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.1818, allocations: 0.9424 MB / 0.7303 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.1826, allocations: 233.2 kB / 0.7306 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.183, allocations: 97.64 kB / 0.7307 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.183, allocations: 4 kB / 0.7307 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.183, allocations: 38.55 kB / 0.7307 GB, free: 12.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.183, allocations: 0 / 0.7307 GB, free: 12.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001228/0.1843, allocations: 337.5 kB / 0.731 GB, free: 11.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.1843, allocations: 81.11 kB / 0.7311 GB, free: 11.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.1846, allocations: 267 kB / 0.7314 GB, free: 11.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.1847, allocations: 25.7 kB / 0.7314 GB, free: 11.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.1848, allocations: 164.3 kB / 0.7315 GB, free: 11.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/0.1848, allocations: 59.52 kB / 0.7316 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.144e-05/0.1849, allocations: 41.66 kB / 0.7316 GB, free: 11.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.1851, allocations: 342.8 kB / 0.732 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.1854, allocations: 87.91 kB / 0.732 GB, free: 10.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.1858, allocations: 144.9 kB / 0.7322 GB, free: 10.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.1865, allocations: 237.8 kB / 0.7324 GB, free: 10.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1865, allocations: 0 / 0.7324 GB, free: 10.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009137/0.1874, allocations: 297.2 kB / 0.7327 GB, free: 9.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1874, allocations: 4 kB / 0.7327 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1875, allocations: 4 kB / 0.7327 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1875, allocations: 3.938 kB / 0.7327 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.1878, allocations: 63.88 kB / 0.7328 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.1878, allocations: 4 kB / 0.7328 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.188, allocations: 43.94 kB / 0.7328 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.188, allocations: 16.08 kB / 0.7328 GB, free: 9.77 MB / 0.545 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.0001451/0.1882, allocations: 137.7 kB / 0.733 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.1883, allocations: 23.86 kB / 0.733 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008734/0.1892, allocations: 287.1 kB / 0.7332 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1892, allocations: 4 kB / 0.7333 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1892, allocations: 0 / 0.7333 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1892, allocations: 0 / 0.7333 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.1896, allocations: 305.3 kB / 0.7335 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1896, allocations: 4 kB / 0.7335 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.1899, allocations: 59.88 kB / 0.7336 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1899, allocations: 4 kB / 0.7336 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1899, allocations: 4 kB / 0.7336 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1899, allocations: 0 / 0.7336 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1899, allocations: 0 / 0.7336 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.1908, allocations: 442.4 kB / 0.734 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.1909, allocations: 112.8 kB / 0.7341 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.1909, allocations: 0 / 0.7341 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.1912, allocations: 27.97 kB / 0.7342 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.1913, allocations: 27.91 kB / 0.7342 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.1913, allocations: 4 kB / 0.7342 GB, free: 8.254 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001962/0.1915, allocations: 190 kB / 0.7344 GB, free: 8.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1915, allocations: 0 / 0.7344 GB, free: 8.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003586/0.1918, allocations: 51.94 kB / 0.7344 GB, free: 8.02 MB / 0.545 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.001324/0.1932, allocations: 0.9947 MB / 0.7354 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007886/0.194, allocations: 216.4 kB / 0.7356 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.194, allocations: 4 kB / 0.7356 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.1943, allocations: 116.2 kB / 0.7357 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.1949, allocations: 78.98 kB / 0.7358 GB, free: 6.594 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.1993, allocations: 2.704 MB / 0.7384 GB, free: 3.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.1997, allocations: 0.748 MB / 0.7392 GB, free: 2.996 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.1998, allocations: 34.22 kB / 0.7392 GB, free: 2.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.2, allocations: 83.41 kB / 0.7393 GB, free: 2.879 MB / 0.545 GB Notification: Performance of SimCode: time 1.283e-06/0.2, allocations: 0 / 0.7393 GB, free: 2.879 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.231, allocations: 6.602 MB / 0.7457 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.507, allocations: 9.266 kB / 0.7457 GB, free: 12.46 MB / 0.5606 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 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: 12.324547794880345] Failed to read output from testmodel.py, exit status != 0: 8.578995914198458 8.605418402 8.423375294 Calling exit ...