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.001364/0.001364, allocations: 105.2 kB / 20.48 MB, free: 1.488 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.00162/0.00162, allocations: 217.1 kB / 23.79 MB, free: 4.699 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.407/1.407, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.9104/0.9104, allocations: 150 MB / 464 MB, free: 10.48 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001933/0.001933, allocations: 58.28 kB / 0.642 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1785, allocations: 89.18 MB / 0.7291 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003489/0.182, allocations: 2.136 MB / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.1839, allocations: 1.094 MB / 0.7323 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1841, allocations: 7.938 kB / 0.7323 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.652e-05/0.1841, allocations: 27.67 kB / 0.7323 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.1844, allocations: 79.28 kB / 0.7324 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.1849, allocations: 199.5 kB / 0.7326 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.1852, allocations: 290.8 kB / 0.7329 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.1854, allocations: 53.11 kB / 0.7329 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1855, allocations: 103.6 kB / 0.733 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.1858, allocations: 147.3 kB / 0.7331 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.1858, allocations: 16 kB / 0.7332 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.1863, allocations: 303.6 kB / 0.7335 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.1863, allocations: 55.78 kB / 0.7335 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.1865, allocations: 119.3 kB / 0.7336 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.187, allocations: 334.5 kB / 0.7339 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.187, allocations: 0 / 0.7339 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.187, allocations: 0 / 0.7339 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.187, allocations: 0 / 0.7339 GB, free: 12.33 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.1881, allocations: 0.5554 MB / 0.7345 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/0.1882, allocations: 16.02 kB / 0.7345 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.118e-05/0.1882, allocations: 4.469 kB / 0.7345 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.823e-05/0.1883, allocations: 46.69 kB / 0.7345 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.1885, allocations: 48.73 kB / 0.7346 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.1889, allocations: 225.4 kB / 0.7348 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1889, allocations: 16.22 kB / 0.7348 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.189, allocations: 12 kB / 0.7348 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.1895, allocations: 232.6 kB / 0.7351 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1895, allocations: 0 / 0.7351 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.1896, allocations: 8 kB / 0.7351 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1896, allocations: 4 kB / 0.7351 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006851/0.1903, allocations: 195.8 kB / 0.7353 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.1915, allocations: 0.922 MB / 0.7362 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007839/0.1923, allocations: 225.2 kB / 0.7364 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.1926, allocations: 101.6 kB / 0.7365 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.1927, allocations: 4 kB / 0.7365 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1927, allocations: 38.55 kB / 0.7365 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.1927, allocations: 0 / 0.7365 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001233/0.1939, allocations: 333.5 kB / 0.7368 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.194, allocations: 89.11 kB / 0.7369 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.1943, allocations: 268.2 kB / 0.7372 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.1943, allocations: 29.7 kB / 0.7372 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.1945, allocations: 160.3 kB / 0.7373 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.1945, allocations: 51.53 kB / 0.7374 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.1946, allocations: 45.7 kB / 0.7374 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1948, allocations: 334.8 kB / 0.7378 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.1951, allocations: 95.91 kB / 0.7379 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.1955, allocations: 146.7 kB / 0.738 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006823/0.1962, allocations: 238.3 kB / 0.7382 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1962, allocations: 0 / 0.7382 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008724/0.1971, allocations: 293.2 kB / 0.7385 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1971, allocations: 8 kB / 0.7385 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1971, allocations: 3.938 kB / 0.7385 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1971, allocations: 4 kB / 0.7385 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.1974, allocations: 64.09 kB / 0.7386 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1974, allocations: 4 kB / 0.7386 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.1976, allocations: 35.86 kB / 0.7386 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.1977, allocations: 15.92 kB / 0.7386 GB, free: 7.238 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.0001323/0.1978, allocations: 137.7 kB / 0.7388 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.1979, allocations: 31.81 kB / 0.7388 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008764/0.1988, allocations: 291.1 kB / 0.7391 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/0.1988, allocations: 0 / 0.7391 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1988, allocations: 8 kB / 0.7391 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1988, allocations: 4 kB / 0.7391 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.1992, allocations: 264.5 kB / 0.7393 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1992, allocations: 0 / 0.7393 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.1994, allocations: 59.88 kB / 0.7394 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1994, allocations: 0 / 0.7394 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.1995, allocations: 8.266 kB / 0.7394 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1995, allocations: 4 kB / 0.7394 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1995, allocations: 0 / 0.7394 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008787/0.2004, allocations: 446.2 kB / 0.7398 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.2004, allocations: 31.78 kB / 0.7399 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.2004, allocations: 8 kB / 0.7399 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.2007, allocations: 23.97 kB / 0.7399 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.2008, allocations: 19.97 kB / 0.7399 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2008, allocations: 4 kB / 0.7399 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001874/0.201, allocations: 191.1 kB / 0.7401 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.201, allocations: 0 / 0.7401 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000366/0.2013, allocations: 63.88 kB / 0.7402 GB, free: 5.598 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.001316/0.2027, allocations: 0.9979 MB / 0.7411 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007852/0.2034, allocations: 216 kB / 0.7413 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2034, allocations: 0 / 0.7413 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.2038, allocations: 115.8 kB / 0.7414 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.2044, allocations: 75.03 kB / 0.7415 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.2087, allocations: 2.7 MB / 0.7442 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.2091, allocations: 0.7558 MB / 0.7449 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001414/0.2093, allocations: 26.3 kB / 0.7449 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.2094, allocations: 87.41 kB / 0.745 GB, free: 468 kB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/0.2094, allocations: 0 / 0.745 GB, free: 468 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.2384, allocations: 6.831 MB / 0.7517 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.39, allocations: 10.67 kB / 0.7517 GB, free: 9.852 MB / 0.5762 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 15.317707712005358] Failed to read output from testmodel.py, exit status != 0: 11.560129256977234 11.858670419 11.669025798 Calling exit ...