Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001455/0.001455, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001542/0.001542, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002647/0.002647, allocations: 292.2 kB / 313.5 MB, free: 2.598 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.234/1.234, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [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.002946/0.002946, allocations: 102.7 kB / 0.7407 GB, free: 27.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1857, allocations: 95.39 MB / 0.8339 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006691/0.1923, allocations: 4.383 MB / 0.8382 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1936, allocations: 0.7681 MB / 0.8389 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.391e-05/0.1936, allocations: 0 / 0.8389 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.1939, allocations: 27.78 kB / 0.8389 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.907e-05/0.1939, allocations: 31.7 kB / 0.839 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.1946, allocations: 179.3 kB / 0.8391 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.1948, allocations: 187.3 kB / 0.8393 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.249e-05/0.1949, allocations: 13.08 kB / 0.8393 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1951, allocations: 75.77 kB / 0.8394 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1952, allocations: 75.72 kB / 0.8395 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.1952, allocations: 12 kB / 0.8395 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.1956, allocations: 139.8 kB / 0.8396 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.1956, allocations: 39.77 kB / 0.8397 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.1957, allocations: 55.78 kB / 0.8397 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.196, allocations: 231.2 kB / 0.8399 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.196, allocations: 0 / 0.8399 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1961, allocations: 0 / 0.8399 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.1961, allocations: 0 / 0.8399 GB, free: 1.422 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008844/0.1969, allocations: 414.8 kB / 0.8403 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.197, allocations: 8.75 kB / 0.8403 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.197, allocations: 16.84 kB / 0.8404 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1972, allocations: 122.4 kB / 0.8405 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1972, allocations: 16.3 kB / 0.8405 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1972, allocations: 12.38 kB / 0.8405 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.1976, allocations: 120.1 kB / 0.8406 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1976, allocations: 4 kB / 0.8406 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1976, allocations: 7.938 kB / 0.8406 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1976, allocations: 0 / 0.8406 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.198, allocations: 147.8 kB / 0.8408 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009536/0.1989, allocations: 380.2 kB / 0.8411 GB, free: 116 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.1993, allocations: 118.4 kB / 0.8412 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.1994, allocations: 64.81 kB / 0.8413 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.2006, allocations: 476 kB / 0.8418 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.2006, allocations: 34.56 kB / 0.8418 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.2006, allocations: 0 / 0.8418 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0006844/0.2013, allocations: 213.4 kB / 0.842 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.2014, allocations: 55.34 kB / 0.842 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.2015, allocations: 167.9 kB / 0.8422 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.2016, allocations: 29.7 kB / 0.8422 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.2017, allocations: 112.4 kB / 0.8423 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.2017, allocations: 43.64 kB / 0.8424 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/0.2018, allocations: 45.7 kB / 0.8424 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2019, allocations: 326.8 kB / 0.8427 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.2021, allocations: 71.94 kB / 0.8428 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.2024, allocations: 119.3 kB / 0.8429 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.2028, allocations: 173.7 kB / 0.8431 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2028, allocations: 0 / 0.8431 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005771/0.2034, allocations: 249.9 kB / 0.8433 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2034, allocations: 4 kB / 0.8433 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2034, allocations: 0 / 0.8433 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2034, allocations: 7.938 kB / 0.8433 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.2037, allocations: 51.91 kB / 0.8434 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.443e-06/0.2037, allocations: 0 / 0.8434 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.2039, allocations: 39.91 kB / 0.8434 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.2039, allocations: 8 kB / 0.8434 GB, free: 13.63 MB / 0.5919 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.000114/0.204, allocations: 126.4 kB / 0.8435 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.2041, allocations: 7.953 kB / 0.8436 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.2045, allocations: 183.2 kB / 0.8437 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2046, allocations: 3.938 kB / 0.8437 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2046, allocations: 8 kB / 0.8437 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2046, allocations: 3.938 kB / 0.8437 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.2048, allocations: 149.2 kB / 0.8439 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2048, allocations: 3.984 kB / 0.8439 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.2049, allocations: 27.98 kB / 0.8439 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2049, allocations: 0 / 0.8439 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.2049, allocations: 0 / 0.8439 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2049, allocations: 4 kB / 0.8439 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.2049, allocations: 7.922 kB / 0.8439 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.2054, allocations: 263.2 kB / 0.8442 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.2055, allocations: 20.25 kB / 0.8442 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.2055, allocations: 4 kB / 0.8442 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.2056, allocations: 15.98 kB / 0.8442 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.2057, allocations: 7.922 kB / 0.8442 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.2057, allocations: 11.97 kB / 0.8442 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.34e-05/0.2058, allocations: 112 kB / 0.8443 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2058, allocations: 0 / 0.8443 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003446/0.2061, allocations: 67.86 kB / 0.8444 GB, free: 12.56 MB / 0.5919 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.0002834/0.2064, allocations: 149.1 kB / 0.8446 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000507/0.2069, allocations: 172.6 kB / 0.8447 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2069, allocations: 0 / 0.8447 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.2071, allocations: 59.95 kB / 0.8448 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.2075, allocations: 28.17 kB / 0.8448 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.208, allocations: 294.9 kB / 0.8451 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.948e-05/0.2081, allocations: 85.78 kB / 0.8452 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.2082, allocations: 19.44 kB / 0.8452 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.2082, allocations: 0 / 0.8452 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of Templates: time 0.004978/0.2132, allocations: 2.629 MB / 0.8477 GB, free: 9.102 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.460272956639528] Failed to read output from testmodel.py, exit status != 0: 0.2211208320222795 0.236269411 0.036728595 Calling exit ...