Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005066/0.005066, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001106/0.001106, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.422/1.422, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.534/1.534, allocations: 251.7 MB / 0.5094 GB, free: 2.984 MB / 414.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.00304/0.00304, allocations: 77.75 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3156, allocations: 104.7 MB / 0.828 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.791/1.107, allocations: 237.9 MB / 1.06 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0238/1.13, allocations: 15.78 MB / 1.076 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003765/1.134, allocations: 67.56 kB / 1.076 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003805/1.138, allocations: 1.048 MB / 1.077 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.009909/1.148, allocations: 3.189 MB / 1.08 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004681/1.153, allocations: 1.677 MB / 1.082 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005448/1.158, allocations: 3.442 MB / 1.085 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/1.16, allocations: 1.289 MB / 1.086 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005945/1.166, allocations: 2.289 MB / 1.088 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/1.169, allocations: 1.155 MB / 1.09 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003399/1.169, allocations: 116 kB / 1.09 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00684/1.176, allocations: 3.094 MB / 1.093 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008078/1.177, allocations: 478.5 kB / 1.093 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001314/1.178, allocations: 0.8084 MB / 1.094 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006697/1.185, allocations: 2.971 MB / 1.097 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/1.185, allocations: 11.92 kB / 1.097 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.044e-06/1.185, allocations: 3.938 kB / 1.097 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.266e-05/1.185, allocations: 0 / 1.097 GB, free: 9.312 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.003956/1.189, allocations: 2.001 MB / 1.099 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.189, allocations: 12.02 kB / 1.099 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/1.192, allocations: 493.5 kB / 1.099 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/1.195, allocations: 1.16 MB / 1.1 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.771e-05/1.195, allocations: 78 kB / 1.101 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/1.195, allocations: 100 kB / 1.101 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/1.197, allocations: 1.357 MB / 1.102 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/1.197, allocations: 11.92 kB / 1.102 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/1.197, allocations: 44 kB / 1.102 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.301e-05/1.197, allocations: 49.98 kB / 1.102 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/1.2, allocations: 1.046 MB / 1.103 GB, free: 2.738 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.00843/1.208, allocations: 7.458 MB / 1.11 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/1.21, allocations: 0.5386 MB / 1.111 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006217/1.211, allocations: 257.2 kB / 1.111 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004151/1.211, allocations: 287.6 kB / 1.111 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/1.211, allocations: 38.78 kB / 1.111 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 2.695e-06/1.211, allocations: 0 / 1.111 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.002497/1.214, allocations: 0.8402 MB / 1.112 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/1.214, allocations: 59.41 kB / 1.112 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/1.215, allocations: 1.391 MB / 1.114 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.026e-05/1.216, allocations: 33.7 kB / 1.114 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/1.216, allocations: 0.7025 MB / 1.114 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/1.216, allocations: 122.3 kB / 1.115 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/1.216, allocations: 170.4 kB / 1.115 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.217, allocations: 334 kB / 1.115 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008423/1.217, allocations: 320.6 kB / 1.115 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/1.219, allocations: 0.7073 MB / 1.116 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/1.22, allocations: 0.9539 MB / 1.117 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/1.22, allocations: 4 kB / 1.117 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002496/1.223, allocations: 1.062 MB / 1.118 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/1.223, allocations: 12 kB / 1.118 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/1.223, allocations: 12 kB / 1.118 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/1.223, allocations: 19.94 kB / 1.118 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008849/1.224, allocations: 212.1 kB / 1.118 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/1.224, allocations: 23.88 kB / 1.118 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/1.225, allocations: 189.6 kB / 1.118 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.92e-05/1.225, allocations: 43.98 kB / 1.118 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001273/1.227, allocations: 0.5721 MB / 1.119 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001067/1.228, allocations: 0.7073 MB / 1.12 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001708/1.229, allocations: 0.9496 MB / 1.121 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.502e-06/1.229, allocations: 4 kB / 1.121 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.00238/1.232, allocations: 1.055 MB / 1.122 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.232, allocations: 15.94 kB / 1.122 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/1.232, allocations: 15.98 kB / 1.122 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/1.232, allocations: 16 kB / 1.122 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008392/1.233, allocations: 211.7 kB / 1.122 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/1.233, allocations: 23.92 kB / 1.122 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/1.234, allocations: 131.4 kB / 1.122 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/1.234, allocations: 40 kB / 1.122 GB, free: 13.92 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.0002643/1.234, allocations: 243.9 kB / 1.122 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/1.235, allocations: 142.2 kB / 1.122 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/1.236, allocations: 0.6423 MB / 1.123 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.236, allocations: 4 kB / 1.123 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.236, allocations: 0 / 1.123 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/1.236, allocations: 7.984 kB / 1.123 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/1.24, allocations: 1.882 MB / 1.125 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.24, allocations: 0 / 1.125 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/1.24, allocations: 96.08 kB / 1.125 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/1.24, allocations: 11.94 kB / 1.125 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/1.24, allocations: 11.98 kB / 1.125 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/1.24, allocations: 8 kB / 1.125 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.24, allocations: 7.938 kB / 1.125 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/1.242, allocations: 0.7957 MB / 1.126 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005182/1.243, allocations: 303 kB / 1.126 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/1.243, allocations: 11.98 kB / 1.126 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/1.244, allocations: 67.92 kB / 1.126 GB, free: 9.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/1.244, allocations: 43.72 kB / 1.126 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/1.244, allocations: 23.98 kB / 1.126 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001455/1.245, allocations: 1.001 MB / 1.127 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.71e-07/1.245, allocations: 4 kB / 1.127 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001889/1.247, allocations: 0.5695 MB / 1.128 GB, free: 7.844 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.0005786/1.248, allocations: 264.4 kB / 1.128 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002895/1.251, allocations: 1.141 MB / 1.129 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.251, allocations: 0.9375 kB / 1.129 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006922/1.252, allocations: 260.5 kB / 1.129 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003589/1.255, allocations: 0.7429 MB / 1.13 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004781/1.26, allocations: 2.225 MB / 1.132 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/1.261, allocations: 1.186 MB / 1.134 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001508/1.262, allocations: 387.8 kB / 1.134 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/1.262, allocations: 95.42 kB / 1.134 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of SimCode: time 1.362e-06/1.262, allocations: 4 kB / 1.134 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of Templates: time 0.04173/1.304, allocations: 25.05 MB / 1.158 GB, free: 8.766 MB / 0.9044 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)