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.0007401/0.0007401, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000826/0.000826, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.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.56/1.56, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005327/0.0005329, allocations: 17.73 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2366, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.6319/0.8685, allocations: 216.7 MB / 0.9989 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01806/0.8866, allocations: 14.61 MB / 1.013 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/0.8896, allocations: 54.75 kB / 1.013 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.8922, allocations: 0.6529 MB / 1.014 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007541/0.8998, allocations: 2.124 MB / 1.016 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003999/0.9038, allocations: 1.247 MB / 1.017 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005107/0.9089, allocations: 3.957 MB / 1.021 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.9105, allocations: 0.9333 MB / 1.022 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00491/0.9155, allocations: 1.917 MB / 1.024 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.9176, allocations: 1.006 MB / 1.025 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.9178, allocations: 47.5 kB / 1.025 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005123/0.9229, allocations: 1.899 MB / 1.027 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006427/0.9236, allocations: 405.4 kB / 1.027 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007434/0.9243, allocations: 336.8 kB / 1.027 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003713/0.9281, allocations: 2.023 MB / 1.029 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.9281, allocations: 3.938 kB / 1.029 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.216e-06/0.9281, allocations: 3.984 kB / 1.029 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.398e-05/0.9281, allocations: 0 / 1.029 GB, free: 14.18 MB / 0.7481 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.003353/0.9315, allocations: 1.726 MB / 1.031 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.9315, allocations: 10.88 kB / 1.031 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.9341, allocations: 0.5419 MB / 1.032 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.9362, allocations: 1.068 MB / 1.033 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007502/0.937, allocations: 276.5 kB / 1.033 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.9371, allocations: 100.2 kB / 1.033 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.9394, allocations: 1.33 MB / 1.034 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.9394, allocations: 10.59 kB / 1.034 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.9396, allocations: 36.72 kB / 1.034 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.9396, allocations: 52.06 kB / 1.034 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.9419, allocations: 1.106 MB / 1.035 GB, free: 10.22 MB / 0.7481 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.007485/0.9494, allocations: 6.648 MB / 1.042 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.9509, allocations: 0.6016 MB / 1.043 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.9514, allocations: 279.4 kB / 1.043 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003697/0.9518, allocations: 287 kB / 1.043 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.9519, allocations: 37.31 kB / 1.043 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 2.365e-06/0.9519, allocations: 0 / 1.043 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002289/0.9542, allocations: 0.9148 MB / 1.044 GB, free: 3.07 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.9543, allocations: 54.34 kB / 1.044 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.9562, allocations: 1.35 MB / 1.045 GB, free: 2.273 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/0.9563, allocations: 32.55 kB / 1.045 GB, free: 2.238 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005686/0.9569, allocations: 0.6803 MB / 1.046 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.957, allocations: 122.7 kB / 1.046 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.957, allocations: 14.56 kB / 1.046 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.9571, allocations: 327.7 kB / 1.047 GB, free: 1.199 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007575/0.9579, allocations: 325.2 kB / 1.047 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.9589, allocations: 0.6718 MB / 1.047 GB, free: 464 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008407/0.9598, allocations: 393.1 kB / 1.048 GB, free: 272 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.9598, allocations: 4 kB / 1.048 GB, free: 268 kB / 0.7481 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002318/0.9621, allocations: 1.051 MB / 1.049 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.00027/0.9624, allocations: 383.2 kB / 1.049 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.9624, allocations: 12 kB / 1.049 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-05/0.9625, allocations: 16.09 kB / 1.049 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007848/0.9633, allocations: 215.7 kB / 1.049 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.198e-05/0.9633, allocations: 23.91 kB / 1.05 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.9647, allocations: 230.8 kB / 1.05 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.9648, allocations: 39.98 kB / 1.05 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.9648, allocations: 4 kB / 1.05 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001956/0.9668, allocations: 0.9011 MB / 1.051 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.9668, allocations: 8 kB / 1.051 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.9668, allocations: 16 kB / 1.051 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007721/0.9676, allocations: 216.4 kB / 1.051 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.9676, allocations: 15.94 kB / 1.051 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.969, allocations: 206.9 kB / 1.051 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.969, allocations: 43.98 kB / 1.051 GB, free: 12.77 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006487/0.9697, allocations: 412.8 kB / 1.052 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.97, allocations: 134.3 kB / 1.052 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.9716, allocations: 0.6835 MB / 1.052 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.9717, allocations: 8 kB / 1.052 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.9717, allocations: 3.938 kB / 1.052 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.9717, allocations: 3.984 kB / 1.052 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.9754, allocations: 1.939 MB / 1.054 GB, free: 9.465 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.9754, allocations: 0 / 1.054 GB, free: 9.465 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/0.9759, allocations: 104 kB / 1.054 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.9759, allocations: 4 kB / 1.054 GB, free: 9.359 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.9759, allocations: 15.98 kB / 1.054 GB, free: 9.344 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.976, allocations: 7.938 kB / 1.054 GB, free: 9.336 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.976, allocations: 4 kB / 1.054 GB, free: 9.332 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.9775, allocations: 0.8421 MB / 1.055 GB, free: 8.426 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005642/0.9781, allocations: 291.2 kB / 1.055 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/0.9784, allocations: 12 kB / 1.055 GB, free: 8.109 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.9795, allocations: 107.9 kB / 1.056 GB, free: 8.004 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.9796, allocations: 35.86 kB / 1.056 GB, free: 7.969 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.9797, allocations: 27.92 kB / 1.056 GB, free: 7.941 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001498/0.9812, allocations: 0.9239 MB / 1.057 GB, free: 7.02 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2e-07/0.9812, allocations: 0 / 1.057 GB, free: 7.02 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00197/0.9832, allocations: 0.5809 MB / 1.057 GB, free: 6.438 MB / 0.7637 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006206/0.9838, allocations: 262 kB / 1.057 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002757/0.9866, allocations: 1.148 MB / 1.058 GB, free: 5.031 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.9866, allocations: 4.938 kB / 1.058 GB, free: 5.027 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006637/0.9873, allocations: 287.5 kB / 1.059 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/0.9905, allocations: 0.6171 MB / 1.059 GB, free: 4.137 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005461/0.996, allocations: 2.648 MB / 1.062 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.9971, allocations: 1.181 MB / 1.063 GB, free: 200 kB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001702/0.9988, allocations: 358.7 kB / 1.063 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.9991, allocations: 91.42 kB / 1.064 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.9991, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of Templates: time 0.03797/1.037, allocations: 21.35 MB / 1.084 GB, free: 10.68 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example4.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) Environment - environmentSimulation: