Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001415/0.001415, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001654/0.001654, allocations: 215.2 kB / 23.01 MB, free: 4.566 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002722/0.002722, allocations: 284.8 kB / 313.5 MB, free: 2.844 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.21/1.21, allocations: 180.6 MB / 0.5377 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002949/0.002949, allocations: 103.1 kB / 0.7408 GB, free: 27.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1804, allocations: 95.39 MB / 0.834 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003837/0.1842, allocations: 2.157 MB / 0.8361 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1862, allocations: 1.084 MB / 0.8371 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1863, allocations: 7.938 kB / 0.8371 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.258e-05/0.1864, allocations: 23.67 kB / 0.8372 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.1867, allocations: 83.22 kB / 0.8372 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004767/0.1872, allocations: 193.3 kB / 0.8374 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.1876, allocations: 298.7 kB / 0.8377 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1877, allocations: 40.86 kB / 0.8378 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1879, allocations: 115.5 kB / 0.8379 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.1881, allocations: 147.4 kB / 0.838 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.1882, allocations: 20 kB / 0.838 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/0.1886, allocations: 291.7 kB / 0.8383 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.1887, allocations: 55.7 kB / 0.8384 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1888, allocations: 119.3 kB / 0.8385 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.1893, allocations: 338.5 kB / 0.8388 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1893, allocations: 0 / 0.8388 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1893, allocations: 0 / 0.8388 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.1893, allocations: 0 / 0.8388 GB, free: 3.16 MB / 0.5762 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.1904, allocations: 0.5554 MB / 0.8393 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1905, allocations: 13.34 kB / 0.8393 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.1907, allocations: 44.73 kB / 0.8394 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.1912, allocations: 217.5 kB / 0.8396 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.1912, allocations: 12.66 kB / 0.8396 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1912, allocations: 16.38 kB / 0.8396 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.1918, allocations: 240.8 kB / 0.8399 GB, free: 2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1918, allocations: 0 / 0.8399 GB, free: 2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1918, allocations: 8 kB / 0.8399 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.1918, allocations: 7.984 kB / 0.8399 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006479/0.1924, allocations: 203.7 kB / 0.8401 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.1937, allocations: 0.9063 MB / 0.8409 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/0.1945, allocations: 233.2 kB / 0.8412 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.1948, allocations: 101.6 kB / 0.8413 GB, free: 476 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1949, allocations: 7.938 kB / 0.8413 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1949, allocations: 34.5 kB / 0.8413 GB, free: 424 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.1949, allocations: 4 kB / 0.8413 GB, free: 420 kB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001201/0.1961, allocations: 345.5 kB / 0.8416 GB, free: 68 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.1962, allocations: 77.11 kB / 0.8417 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.1965, allocations: 268.2 kB / 0.842 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.1965, allocations: 25.7 kB / 0.842 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.1966, allocations: 164.3 kB / 0.8422 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.1967, allocations: 55.48 kB / 0.8422 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.1968, allocations: 41.7 kB / 0.8422 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1969, allocations: 338.8 kB / 0.8426 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.1973, allocations: 95.91 kB / 0.8427 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.1976, allocations: 138.7 kB / 0.8428 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006678/0.1983, allocations: 249.7 kB / 0.843 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1983, allocations: 4 kB / 0.843 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008367/0.1991, allocations: 293.1 kB / 0.8433 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1991, allocations: 8 kB / 0.8433 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1992, allocations: 0 / 0.8433 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.1992, allocations: 4 kB / 0.8433 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.1995, allocations: 68.03 kB / 0.8434 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1995, allocations: 0 / 0.8434 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.1997, allocations: 39.86 kB / 0.8434 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1997, allocations: 8 kB / 0.8434 GB, free: 14.13 MB / 0.5919 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.000151/0.1999, allocations: 130.4 kB / 0.8436 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2, allocations: 39.69 kB / 0.8436 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008286/0.2008, allocations: 283.9 kB / 0.8439 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2008, allocations: 4 kB / 0.8439 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2008, allocations: 0 / 0.8439 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2008, allocations: 11.92 kB / 0.8439 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.2012, allocations: 260.5 kB / 0.8441 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2012, allocations: 7.875 kB / 0.8441 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.2015, allocations: 55.95 kB / 0.8442 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2015, allocations: 0 / 0.8442 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2015, allocations: 0 / 0.8442 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.2015, allocations: 4 kB / 0.8442 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2015, allocations: 4.281 kB / 0.8442 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008801/0.2024, allocations: 444.9 kB / 0.8446 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.2025, allocations: 35.69 kB / 0.8447 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.2025, allocations: 4 kB / 0.8447 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.2028, allocations: 27.95 kB / 0.8447 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.2029, allocations: 19.97 kB / 0.8447 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.2029, allocations: 8 kB / 0.8447 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000205/0.2031, allocations: 187.1 kB / 0.8449 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2031, allocations: 0 / 0.8449 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003911/0.2035, allocations: 67.89 kB / 0.845 GB, free: 12.49 MB / 0.5919 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.0002111/0.2037, allocations: 115.1 kB / 0.8451 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008056/0.2045, allocations: 216 kB / 0.8453 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2045, allocations: 0 / 0.8453 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.2048, allocations: 111.8 kB / 0.8454 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.2054, allocations: 85.56 kB / 0.8455 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000871/0.2062, allocations: 480.7 kB / 0.8459 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.2066, allocations: 0.752 MB / 0.8467 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.389e-05/0.2067, allocations: 27.44 kB / 0.8467 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.2067, allocations: 0 / 0.8467 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of Templates: time 0.006259/0.213, allocations: 3.497 MB / 0.8501 GB, free: 7.199 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.686055621132255] Failed to read output from testmodel.py, exit status != 0: 0.22109576198272407 0.23680811699999996 0.04436932099999994 Calling exit ...