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.001418/0.001418, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.001624/0.001624, allocations: 184 kB / 17.22 MB, free: 5.934 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.338/1.338, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.806/1.806, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001467/0.001467, allocations: 59.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2215, allocations: 114.6 MB / 0.7841 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.6075/0.829, allocations: 237.6 MB / 1.016 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02266/0.8517, allocations: 15.66 MB / 1.031 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.8542, allocations: 59.62 kB / 1.031 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002914/0.8572, allocations: 1.037 MB / 1.032 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.008574/0.8658, allocations: 2.971 MB / 1.035 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00462/0.8704, allocations: 1.682 MB / 1.037 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005133/0.8756, allocations: 3.422 MB / 1.04 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.8775, allocations: 1.3 MB / 1.042 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006324/0.8839, allocations: 2.493 MB / 1.044 GB, free: 80 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002491/0.8864, allocations: 1.074 MB / 1.045 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003727/0.8868, allocations: 120 kB / 1.045 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006185/0.893, allocations: 3.102 MB / 1.048 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006746/0.8937, allocations: 478.5 kB / 1.049 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.895, allocations: 0.8085 MB / 1.049 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006193/0.9012, allocations: 2.976 MB / 1.052 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.9013, allocations: 0 / 1.052 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9013, allocations: 3.938 kB / 1.052 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.222e-05/0.9013, allocations: 4 kB / 1.052 GB, free: 7.52 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.003886/0.9052, allocations: 2.004 MB / 1.054 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.9053, allocations: 8.031 kB / 1.054 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002755/0.908, allocations: 0.4975 MB / 1.055 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.9101, allocations: 1.106 MB / 1.056 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008577/0.911, allocations: 249.8 kB / 1.056 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.9112, allocations: 100 kB / 1.056 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.9137, allocations: 1.366 MB / 1.058 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.9137, allocations: 8 kB / 1.058 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-05/0.9138, allocations: 44 kB / 1.058 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/0.9139, allocations: 45.92 kB / 1.058 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.9163, allocations: 1.069 MB / 1.059 GB, free: 0.8008 MB / 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.008602/0.9249, allocations: 7.417 MB / 1.066 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.9266, allocations: 0.5698 MB / 1.067 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006437/0.9273, allocations: 271 kB / 1.067 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004511/0.9278, allocations: 287.6 kB / 1.067 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.9278, allocations: 34.84 kB / 1.067 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 2.475e-06/0.9278, allocations: 0 / 1.067 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.002565/0.9304, allocations: 0.8676 MB / 1.068 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.9305, allocations: 59.39 kB / 1.068 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.9325, allocations: 1.395 MB / 1.069 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/0.9326, allocations: 37.7 kB / 1.069 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005708/0.9332, allocations: 0.7025 MB / 1.07 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.9333, allocations: 118.4 kB / 1.07 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.9336, allocations: 174.3 kB / 1.07 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.9337, allocations: 330 kB / 1.071 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000888/0.9346, allocations: 340.6 kB / 1.071 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.9358, allocations: 0.719 MB / 1.072 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.9377, allocations: 0.9717 MB / 1.073 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.9377, allocations: 7.938 kB / 1.073 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002499/0.9402, allocations: 1.093 MB / 1.074 GB, free: 492 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.9402, allocations: 12 kB / 1.074 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.9403, allocations: 15.98 kB / 1.074 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.9403, allocations: 16 kB / 1.074 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008593/0.9412, allocations: 216 kB / 1.074 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.9412, allocations: 19.94 kB / 1.074 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.9425, allocations: 191.6 kB / 1.074 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.9426, allocations: 48.03 kB / 1.074 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001284/0.9439, allocations: 0.5876 MB / 1.075 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001141/0.9451, allocations: 0.7306 MB / 1.075 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00181/0.9469, allocations: 0.9597 MB / 1.076 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.161e-06/0.9469, allocations: 8 kB / 1.076 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002557/0.9495, allocations: 1.089 MB / 1.077 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9495, allocations: 12 kB / 1.078 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.9496, allocations: 12 kB / 1.078 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.9496, allocations: 19.98 kB / 1.078 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008704/0.9505, allocations: 207.9 kB / 1.078 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-05/0.9505, allocations: 27.86 kB / 1.078 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.9519, allocations: 147.4 kB / 1.078 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.952, allocations: 47.98 kB / 1.078 GB, free: 11.77 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.0002668/0.9522, allocations: 235.9 kB / 1.078 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/0.9526, allocations: 142.2 kB / 1.078 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.9544, allocations: 0.6634 MB / 1.079 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.9544, allocations: 7.938 kB / 1.079 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.9544, allocations: 192 / 1.079 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9545, allocations: 0 / 1.079 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003964/0.9584, allocations: 1.912 MB / 1.081 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.9585, allocations: 8.031 kB / 1.081 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/0.959, allocations: 99.84 kB / 1.081 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.959, allocations: 4 kB / 1.081 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.959, allocations: 18.62 kB / 1.081 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.425e-06/0.9591, allocations: 7.938 kB / 1.081 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.9591, allocations: 8 kB / 1.081 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.9608, allocations: 0.8198 MB / 1.082 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006315/0.9615, allocations: 303 kB / 1.082 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002678/0.9617, allocations: 11.98 kB / 1.082 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.9628, allocations: 71.92 kB / 1.082 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.9629, allocations: 35.84 kB / 1.082 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.963, allocations: 19.98 kB / 1.082 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001764/0.9647, allocations: 1.013 MB / 1.083 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9648, allocations: 0 / 1.083 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002061/0.9668, allocations: 0.5773 MB / 1.084 GB, free: 5.625 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.0007023/0.9675, allocations: 270.5 kB / 1.084 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003119/0.9707, allocations: 1.184 MB / 1.085 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.9707, allocations: 4 kB / 1.085 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006826/0.9714, allocations: 261.2 kB / 1.085 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003465/0.9749, allocations: 0.7321 MB / 1.086 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.9801, allocations: 2.246 MB / 1.088 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.9811, allocations: 1.186 MB / 1.089 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001461/0.9826, allocations: 383.5 kB / 1.09 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.9829, allocations: 103.4 kB / 1.09 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of SimCode: time 9.32e-07/0.9829, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of Templates: time 0.04322/1.026, allocations: 25 MB / 1.114 GB, free: 6.668 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)