Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 106.4 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001044, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 75.75 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1918, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.5577/0.7495, allocations: 237.6 MB / 1.017 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02056/0.7701, allocations: 15.67 MB / 1.032 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.7725, allocations: 55.69 kB / 1.032 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.7751, allocations: 1.045 MB / 1.033 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007069/0.7822, allocations: 2.956 MB / 1.036 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003936/0.7861, allocations: 1.684 MB / 1.038 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004459/0.7906, allocations: 3.431 MB / 1.041 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.7924, allocations: 1.287 MB / 1.042 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005818/0.7982, allocations: 2.503 MB / 1.045 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.8003, allocations: 1.084 MB / 1.046 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.8006, allocations: 120 kB / 1.046 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005619/0.8062, allocations: 3.094 MB / 1.049 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004954/0.8067, allocations: 478.5 kB / 1.049 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.8078, allocations: 0.8084 MB / 1.05 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004323/0.8121, allocations: 2.976 MB / 1.053 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.8121, allocations: 4 kB / 1.053 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8122, allocations: 0 / 1.053 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.478e-05/0.8122, allocations: 0 / 1.053 GB, free: 7.023 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003402/0.8156, allocations: 2.004 MB / 1.055 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.8156, allocations: 12.03 kB / 1.055 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.8184, allocations: 0.4975 MB / 1.056 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/0.8206, allocations: 1.106 MB / 1.057 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008881/0.8215, allocations: 249.7 kB / 1.057 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.8216, allocations: 100 kB / 1.057 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.824, allocations: 1.366 MB / 1.058 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.824, allocations: 3.938 kB / 1.058 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-05/0.8241, allocations: 44 kB / 1.058 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/0.8242, allocations: 49.98 kB / 1.058 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.8266, allocations: 1.077 MB / 1.059 GB, free: 300 kB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007714/0.8343, allocations: 7.409 MB / 1.067 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.836, allocations: 0.5697 MB / 1.067 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006588/0.8367, allocations: 269.2 kB / 1.067 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/0.8371, allocations: 291.5 kB / 1.068 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.8371, allocations: 38.84 kB / 1.068 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 2.093e-06/0.8371, allocations: 0 / 1.068 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.002482/0.8396, allocations: 0.8674 MB / 1.069 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.8397, allocations: 63.34 kB / 1.069 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.8415, allocations: 1.395 MB / 1.07 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.8415, allocations: 33.7 kB / 1.07 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005205/0.8421, allocations: 0.7025 MB / 1.071 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.8422, allocations: 118.4 kB / 1.071 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.8424, allocations: 166.4 kB / 1.071 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8425, allocations: 334 kB / 1.071 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008911/0.8434, allocations: 332.6 kB / 1.072 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.8446, allocations: 0.7229 MB / 1.072 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.8464, allocations: 0.9718 MB / 1.073 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.8465, allocations: 4 kB / 1.073 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002479/0.8489, allocations: 1.093 MB / 1.074 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.849, allocations: 20.05 kB / 1.074 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.849, allocations: 8 kB / 1.074 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.849, allocations: 20 kB / 1.074 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009193/0.85, allocations: 211.7 kB / 1.075 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.736e-05/0.85, allocations: 23.88 kB / 1.075 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.8515, allocations: 194.7 kB / 1.075 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/0.8516, allocations: 43.98 kB / 1.075 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001396/0.853, allocations: 0.5873 MB / 1.075 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001299/0.8543, allocations: 0.7306 MB / 1.076 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00187/0.8562, allocations: 0.9615 MB / 1.077 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.981e-06/0.8562, allocations: 4 kB / 1.077 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002465/0.8587, allocations: 1.087 MB / 1.078 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.8587, allocations: 12 kB / 1.078 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.8588, allocations: 20.11 kB / 1.078 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.8588, allocations: 16 kB / 1.078 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000926/0.8597, allocations: 219.8 kB / 1.078 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.8598, allocations: 19.94 kB / 1.078 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.8611, allocations: 147.4 kB / 1.079 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.8612, allocations: 39.98 kB / 1.079 GB, free: 11.29 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (91): * Single equations (assignments): 91 * 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.0002438/0.8614, allocations: 247.8 kB / 1.079 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.8616, allocations: 142.2 kB / 1.079 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.8633, allocations: 0.6632 MB / 1.08 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.8633, allocations: 4 kB / 1.08 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.8634, allocations: 0 / 1.08 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8634, allocations: 3.828 kB / 1.08 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003702/0.8671, allocations: 1.915 MB / 1.082 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.8671, allocations: 4 kB / 1.082 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/0.8676, allocations: 100 kB / 1.082 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.8677, allocations: 4 kB / 1.082 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.8677, allocations: 12 kB / 1.082 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.8677, allocations: 4 kB / 1.082 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.8677, allocations: 7.938 kB / 1.082 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.8693, allocations: 0.8315 MB / 1.082 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/0.8699, allocations: 295 kB / 1.083 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.87, allocations: 15.98 kB / 1.083 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.871, allocations: 75.92 kB / 1.083 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.132e-05/0.8711, allocations: 31.84 kB / 1.083 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.8712, allocations: 27.97 kB / 1.083 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001444/0.8726, allocations: 1.005 MB / 1.084 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8727, allocations: 0 / 1.084 GB, free: 5.703 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001775/0.8744, allocations: 0.5852 MB / 1.084 GB, free: 5.117 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.0005889/0.875, allocations: 266.8 kB / 1.085 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003013/0.8781, allocations: 1.177 MB / 1.086 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.8781, allocations: 0 / 1.086 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007182/0.8788, allocations: 266.2 kB / 1.086 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/0.8822, allocations: 0.7343 MB / 1.087 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.8871, allocations: 2.254 MB / 1.089 GB, free: 428 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/0.8879, allocations: 1.182 MB / 1.09 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001295/0.8892, allocations: 387.9 kB / 1.091 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.8894, allocations: 91.42 kB / 1.091 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of SimCode: time 2.014e-06/0.8894, allocations: 4 kB / 1.091 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of Templates: time 0.03934/0.9288, allocations: 25 MB / 1.115 GB, free: 6.152 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)