Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.017/3.017, allocations: 287.5 MB / 302.4 MB, free: 8.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 168.6 kB / 371 MB, free: 10.91 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 0.6297 GB, free: 10.67 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009468/0.0009467, allocations: 85.66 kB / 0.743 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000744/0.0007444, allocations: 12.41 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2242, allocations: 115.3 MB / 0.9783 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 1.018/1.242, allocations: 216.7 MB / 1.19 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03969/1.282, allocations: 14.62 MB / 1.204 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003224/1.285, allocations: 54.41 kB / 1.204 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004392/1.29, allocations: 0.6558 MB / 1.205 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/1.302, allocations: 2.121 MB / 1.207 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.007572/1.309, allocations: 1.256 MB / 1.208 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.009656/1.319, allocations: 3.96 MB / 1.212 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003284/1.322, allocations: 0.9371 MB / 1.213 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009007/1.332, allocations: 1.907 MB / 1.215 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003659/1.335, allocations: 1.013 MB / 1.216 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006369/1.336, allocations: 46 kB / 1.216 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01006/1.346, allocations: 1.899 MB / 1.218 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001416/1.347, allocations: 400.3 kB / 1.218 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/1.349, allocations: 334.8 kB / 1.218 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006784/1.356, allocations: 2.027 MB / 1.22 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/1.356, allocations: 0 / 1.22 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.128e-06/1.356, allocations: 0 / 1.22 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.127e-05/1.356, allocations: 0 / 1.22 GB, free: 4.164 MB / 0.7448 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.00719/1.363, allocations: 1.729 MB / 1.222 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/1.363, allocations: 16.02 kB / 1.222 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006556/1.37, allocations: 0.5327 MB / 1.223 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005321/1.375, allocations: 1.072 MB / 1.224 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002347/1.377, allocations: 277.8 kB / 1.224 GB, free: 440 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004527/1.378, allocations: 100 kB / 1.224 GB, free: 340 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005932/1.384, allocations: 1.33 MB / 1.225 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.284e-05/1.384, allocations: 7.938 kB / 1.225 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/1.384, allocations: 47.86 kB / 1.225 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/1.384, allocations: 46 kB / 1.225 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006538/1.391, allocations: 1.108 MB / 1.227 GB, free: 13.71 MB / 0.7605 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.01788/1.409, allocations: 6.644 MB / 1.233 GB, free: 6.617 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004126/1.413, allocations: 0.5982 MB / 1.234 GB, free: 6.012 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/1.415, allocations: 281.2 kB / 1.234 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007343/1.416, allocations: 291.5 kB / 1.234 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/1.416, allocations: 38.8 kB / 1.234 GB, free: 5.348 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 4.829e-06/1.416, allocations: 0 / 1.234 GB, free: 5.348 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.00605/1.422, allocations: 0.9094 MB / 1.235 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/1.422, allocations: 59.39 kB / 1.235 GB, free: 4.359 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004603/1.426, allocations: 1.346 MB / 1.236 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002321/1.427, allocations: 33.7 kB / 1.236 GB, free: 2.965 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/1.428, allocations: 0.6833 MB / 1.237 GB, free: 2.277 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000281/1.428, allocations: 126.2 kB / 1.237 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/1.428, allocations: 20 kB / 1.237 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002073/1.429, allocations: 330 kB / 1.238 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/1.431, allocations: 321.1 kB / 1.238 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/1.434, allocations: 0.6715 MB / 1.239 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/1.436, allocations: 403.5 kB / 1.239 GB, free: 276 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/1.436, allocations: 4 kB / 1.239 GB, free: 272 kB / 0.7605 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.006189/1.442, allocations: 1.042 MB / 1.24 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000542/1.443, allocations: 379.6 kB / 1.24 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/1.443, allocations: 12 kB / 1.24 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.881e-05/1.443, allocations: 16 kB / 1.24 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/1.445, allocations: 207.7 kB / 1.241 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-05/1.445, allocations: 19.92 kB / 1.241 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003497/1.449, allocations: 230.8 kB / 1.241 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/1.449, allocations: 35.98 kB / 1.241 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.449, allocations: 10.44 kB / 1.241 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005381/1.455, allocations: 0.905 MB / 1.242 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.075e-05/1.455, allocations: 12 kB / 1.242 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/1.455, allocations: 16 kB / 1.242 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/1.457, allocations: 208.3 kB / 1.242 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.645e-05/1.457, allocations: 23.92 kB / 1.242 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003183/1.46, allocations: 205 kB / 1.242 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/1.461, allocations: 43.98 kB / 1.242 GB, free: 12.79 MB / 0.7761 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.001319/1.462, allocations: 406.3 kB / 1.243 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005926/1.463, allocations: 138.3 kB / 1.243 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/1.467, allocations: 0.6868 MB / 1.243 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.467, allocations: 0 / 1.243 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.467, allocations: 8 kB / 1.243 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/1.467, allocations: 3.953 kB / 1.243 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00883/1.476, allocations: 1.936 MB / 1.245 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/1.476, allocations: 4 kB / 1.245 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.477, allocations: 108 kB / 1.245 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.677e-05/1.477, allocations: 4 kB / 1.245 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.182e-05/1.477, allocations: 12 kB / 1.245 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-05/1.477, allocations: 11.88 kB / 1.245 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.477, allocations: 4 kB / 1.245 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004048/1.481, allocations: 0.8491 MB / 1.246 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/1.483, allocations: 283.4 kB / 1.247 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005366/1.483, allocations: 11.98 kB / 1.247 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/1.486, allocations: 103.9 kB / 1.247 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/1.486, allocations: 43.84 kB / 1.247 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.486, allocations: 23.97 kB / 1.247 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003455/1.49, allocations: 0.9239 MB / 1.248 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.122e-06/1.49, allocations: 0 / 1.248 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004129/1.494, allocations: 0.5809 MB / 1.248 GB, free: 6.457 MB / 0.7761 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.001129/1.495, allocations: 275 kB / 1.248 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006964/1.502, allocations: 1.143 MB / 1.25 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.502, allocations: 0.9375 kB / 1.25 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001783/1.504, allocations: 276.6 kB / 1.25 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007564/1.511, allocations: 0.6174 MB / 1.25 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/1.523, allocations: 2.66 MB / 1.253 GB, free: 1.418 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/1.525, allocations: 1.181 MB / 1.254 GB, free: 212 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003798/1.529, allocations: 346.8 kB / 1.255 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006434/1.529, allocations: 99.34 kB / 1.255 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of SimCode: time 1.333e-06/1.529, allocations: 0 / 1.255 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of Templates: time 0.08909/1.618, allocations: 21.34 MB / 1.275 GB, free: 10.65 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)