Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001124, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001909/0.001909, allocations: 189.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 64.61 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3566, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05728/0.4139, allocations: 60.7 MB / 1.127 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.4302, allocations: 11.93 MB / 1.139 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.4322, allocations: 55.62 kB / 1.139 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.4339, allocations: 0.5751 MB / 1.139 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005084/0.4391, allocations: 1.828 MB / 1.141 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.4419, allocations: 1.099 MB / 1.142 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004359/0.4463, allocations: 3.098 MB / 1.145 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.4478, allocations: 1.1 MB / 1.146 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00279/0.4506, allocations: 1.342 MB / 1.147 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.4517, allocations: 0.9295 MB / 1.148 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.4519, allocations: 120 kB / 1.149 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.4544, allocations: 1.45 MB / 1.15 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.4547, allocations: 290.9 kB / 1.15 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006958/0.4554, allocations: 0.6997 MB / 1.151 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.4582, allocations: 2.279 MB / 1.153 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4582, allocations: 3.938 kB / 1.153 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4582, allocations: 0 / 1.153 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.4582, allocations: 3.938 kB / 1.153 GB, free: 3.02 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002822/0.4611, allocations: 1.726 MB / 1.155 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.4611, allocations: 8.031 kB / 1.155 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/0.4633, allocations: 410.8 kB / 1.155 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.4653, allocations: 1.128 MB / 1.156 GB, free: 15.63 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/0.4657, allocations: 113.9 kB / 1.156 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.4658, allocations: 80 kB / 1.156 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.4678, allocations: 0.9855 MB / 1.157 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.4678, allocations: 0 / 1.157 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-05/0.4679, allocations: 35.98 kB / 1.157 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.4679, allocations: 20 kB / 1.158 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/0.4702, allocations: 0.8509 MB / 1.158 GB, free: 13.51 MB / 0.92 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.006249/0.4764, allocations: 4.827 MB / 1.163 GB, free: 8.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00344/0.4799, allocations: 0.7985 MB / 1.164 GB, free: 7.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000736/0.4806, allocations: 298 kB / 1.164 GB, free: 7.227 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007168/0.4814, allocations: 0.9064 MB / 1.165 GB, free: 6.117 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.4814, allocations: 46.45 kB / 1.165 GB, free: 6.062 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.716e-06/0.4814, allocations: 4 kB / 1.165 GB, free: 6.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.007281/0.4887, allocations: 1.747 MB / 1.167 GB, free: 4.281 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.4888, allocations: 55.41 kB / 1.167 GB, free: 4.215 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.4903, allocations: 1.055 MB / 1.168 GB, free: 3.145 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.967e-05/0.4904, allocations: 37.7 kB / 1.168 GB, free: 3.102 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.4909, allocations: 0.5195 MB / 1.168 GB, free: 2.578 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.491, allocations: 149.9 kB / 1.169 GB, free: 2.43 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.4912, allocations: 130 kB / 1.169 GB, free: 2.297 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4913, allocations: 333.9 kB / 1.169 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008582/0.4922, allocations: 302.8 kB / 1.169 GB, free: 1.668 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.4933, allocations: 0.5023 MB / 1.17 GB, free: 1.082 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.4949, allocations: 0.685 MB / 1.17 GB, free: 348 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4949, allocations: 0 / 1.17 GB, free: 348 kB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003545/0.4984, allocations: 1.133 MB / 1.172 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4985, allocations: 7.938 kB / 1.172 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4985, allocations: 4.438 kB / 1.172 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.4997, allocations: 320.5 kB / 1.172 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.5002, allocations: 115.9 kB / 1.172 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.5017, allocations: 0.9175 MB / 1.173 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.503, allocations: 167.3 kB / 1.173 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.5031, allocations: 31.92 kB / 1.173 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001226/0.5044, allocations: 0.5127 MB / 1.174 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00104/0.5054, allocations: 0.494 MB / 1.174 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001571/0.507, allocations: 0.6758 MB / 1.175 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.745e-05/0.507, allocations: 4 kB / 1.175 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003369/0.5104, allocations: 1.109 MB / 1.176 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.5104, allocations: 8.438 kB / 1.176 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5105, allocations: 8 kB / 1.176 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.5115, allocations: 304.5 kB / 1.176 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.5121, allocations: 111.9 kB / 1.176 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.5135, allocations: 0.9132 MB / 1.177 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.5148, allocations: 155.6 kB / 1.177 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/0.5149, allocations: 24 kB / 1.177 GB, free: 9.121 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.5151, allocations: 228.1 kB / 1.177 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.5153, allocations: 118.6 kB / 1.178 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.5177, allocations: 0.9221 MB / 1.178 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.5177, allocations: 11.98 kB / 1.178 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5177, allocations: 3.938 kB / 1.178 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.5177, allocations: 0 / 1.178 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004907/0.5227, allocations: 2.155 MB / 1.181 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.5227, allocations: 4.062 kB / 1.181 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.523, allocations: 59.89 kB / 1.181 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.524, allocations: 314.1 kB / 1.181 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.5241, allocations: 16 kB / 1.181 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.5256, allocations: 0.9425 MB / 1.182 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5256, allocations: 0 / 1.182 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003444/0.5291, allocations: 1.163 MB / 1.183 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/0.5295, allocations: 263.5 kB / 1.183 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.5297, allocations: 15.94 kB / 1.183 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000872/0.5305, allocations: 99.83 kB / 1.183 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.5307, allocations: 39.88 kB / 1.183 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.5307, allocations: 23.98 kB / 1.183 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001124/0.5318, allocations: 0.7391 MB / 1.184 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5319, allocations: 0 / 1.184 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001557/0.5334, allocations: 0.5575 MB / 1.185 GB, free: 1.254 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007923/0.5342, allocations: 376.9 kB / 1.185 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00308/0.5373, allocations: 1.125 MB / 1.186 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5373, allocations: 0 / 1.186 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008627/0.5382, allocations: 346.5 kB / 1.187 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.5404, allocations: 0.5022 MB / 1.187 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005279/0.5457, allocations: 2.446 MB / 1.189 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.5463, allocations: 1.061 MB / 1.19 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009731/0.5473, allocations: 220.6 kB / 1.191 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.5475, allocations: 79.36 kB / 1.191 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of SimCode: time 1.362e-06/0.5475, allocations: 0 / 1.191 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of Templates: time 0.04293/0.5904, allocations: 24.44 MB / 1.215 GB, free: 2.883 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)