Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.001384/0.001384, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001585/0.001585, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.797 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.002714/0.002714, allocations: 297.4 kB / 312.7 MB, free: 2.605 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.257/1.257, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") [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.002922/0.002922, allocations: 101.7 kB / 0.74 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1986, allocations: 95.38 MB / 0.8331 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001689/0.2003, allocations: 0.5397 MB / 0.8336 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001919/0.2005, allocations: 35.81 kB / 0.8337 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.2005, allocations: 4 kB / 0.8337 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.2006, allocations: 0 / 0.8337 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.2007, allocations: 0 / 0.8337 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 6.707e-05/0.2008, allocations: 11.94 kB / 0.8337 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.71e-05/0.2008, allocations: 7.984 kB / 0.8337 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.2009, allocations: 4.406 kB / 0.8337 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.2009, allocations: 11.92 kB / 0.8337 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.201, allocations: 7.984 kB / 0.8337 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.201, allocations: 3.938 kB / 0.8337 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.201, allocations: 0 / 0.8337 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.2011, allocations: 8 kB / 0.8337 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.2011, allocations: 3.938 kB / 0.8337 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 7.232e-05/0.2012, allocations: 11.92 kB / 0.8337 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2012, allocations: 4 kB / 0.8337 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2012, allocations: 0 / 0.8337 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2012, allocations: 0 / 0.8337 GB, free: 7.211 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004507/0.2017, allocations: 262.3 kB / 0.834 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2017, allocations: 13.33 kB / 0.834 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.2017, allocations: 4.875 kB / 0.834 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.2019, allocations: 122.5 kB / 0.8341 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.2019, allocations: 384 / 0.8341 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.2019, allocations: 384 / 0.8341 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.678e-05/0.202, allocations: 38.25 kB / 0.8342 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.202, allocations: 192 / 0.8342 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.202, allocations: 3.938 kB / 0.8342 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.202, allocations: 0 / 0.8342 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.2021, allocations: 11.94 kB / 0.8342 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.2022, allocations: 105.3 kB / 0.8343 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.2023, allocations: 18.61 kB / 0.8343 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.2023, allocations: 12.91 kB / 0.8343 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.2023, allocations: 0 / 0.8343 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.2024, allocations: 30.56 kB / 0.8343 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.2024, allocations: 0 / 0.8343 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001617/0.2025, allocations: 49.56 kB / 0.8344 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.2026, allocations: 51.41 kB / 0.8344 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2027, allocations: 114 kB / 0.8345 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.2027, allocations: 29.7 kB / 0.8346 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.2027, allocations: 80.14 kB / 0.8347 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.2028, allocations: 3.953 kB / 0.8347 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.2028, allocations: 21.7 kB / 0.8347 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.203, allocations: 310.8 kB / 0.835 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.203, allocations: 4 kB / 0.835 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/0.203, allocations: 17.7 kB / 0.835 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.538e-05/0.2031, allocations: 25.66 kB / 0.835 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2031, allocations: 4.312 kB / 0.835 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.788e-05/0.2031, allocations: 45.67 kB / 0.8351 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2032, allocations: 14.28 kB / 0.8351 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2032, allocations: 4 kB / 0.8351 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2032, allocations: 3.938 kB / 0.8351 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.2032, allocations: 11.92 kB / 0.8351 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2033, allocations: 3.984 kB / 0.8351 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.2033, allocations: 4 kB / 0.8351 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.2033, allocations: 4 kB / 0.8351 GB, free: 5.633 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 9.619e-05/0.2034, allocations: 110.6 kB / 0.8352 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.2034, allocations: 4 kB / 0.8352 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.2035, allocations: 49.14 kB / 0.8353 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.2035, allocations: 7.938 kB / 0.8353 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2035, allocations: 0 / 0.8353 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2035, allocations: 0 / 0.8353 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.2036, allocations: 105.3 kB / 0.8354 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2036, allocations: 7.922 kB / 0.8354 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.2037, allocations: 7.938 kB / 0.8354 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2037, allocations: 0 / 0.8354 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2037, allocations: 0 / 0.8354 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2037, allocations: 4.031 kB / 0.8354 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2037, allocations: 3.938 kB / 0.8354 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.2038, allocations: 77.11 kB / 0.8355 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.2038, allocations: 8.031 kB / 0.8355 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.2039, allocations: 0 / 0.8355 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.069e-05/0.2039, allocations: 0 / 0.8355 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.2039, allocations: 3.938 kB / 0.8355 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.2039, allocations: 4 kB / 0.8355 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.901e-05/0.204, allocations: 91.27 kB / 0.8356 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.204, allocations: 0 / 0.8356 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001816/0.2041, allocations: 4.094 kB / 0.8356 GB, free: 5.086 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0001219/0.2043, allocations: 99.25 kB / 0.8357 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.768e-05/0.2043, allocations: 15.92 kB / 0.8357 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2043, allocations: 0 / 0.8357 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-05/0.2044, allocations: 7.984 kB / 0.8357 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.2045, allocations: 4 kB / 0.8357 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.2048, allocations: 117.4 kB / 0.8358 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.538e-05/0.2049, allocations: 67.53 kB / 0.8359 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.918e-05/0.2049, allocations: 7.938 kB / 0.8359 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.2049, allocations: 11.38 kB / 0.8359 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.2049, allocations: 0 / 0.8359 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of Templates: time 0.002394/0.2073, allocations: 338.8 kB / 0.8362 GB, free: 4.383 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.166332574561238] Failed to read output from testmodel.py, exit status != 0: 0.21485735848546028 0.231342075 0.026888282000000003 Calling exit ...