Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, 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.001712/0.001713, allocations: 192.7 kB / 16.25 MB, free: 6.586 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.506/1.506, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.62 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3369, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05909/0.3961, allocations: 60.72 MB / 1.127 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01856/0.4147, allocations: 11.93 MB / 1.139 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002985/0.4177, allocations: 55.62 kB / 1.139 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002737/0.4205, allocations: 0.579 MB / 1.139 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006076/0.4266, allocations: 1.822 MB / 1.141 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.43, allocations: 1.104 MB / 1.142 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004624/0.4346, allocations: 3.095 MB / 1.145 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.4366, allocations: 1.104 MB / 1.146 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003442/0.44, allocations: 1.339 MB / 1.148 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.4418, allocations: 0.9296 MB / 1.148 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003812/0.4422, allocations: 119.9 kB / 1.149 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.4454, allocations: 1.466 MB / 1.15 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003437/0.4457, allocations: 286.9 kB / 1.15 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008784/0.4466, allocations: 0.6958 MB / 1.151 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.4501, allocations: 2.298 MB / 1.153 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4502, allocations: 4 kB / 1.153 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4502, allocations: 0 / 1.153 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.357e-05/0.4502, allocations: 0 / 1.153 GB, free: 2.988 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.003264/0.4535, allocations: 1.736 MB / 1.155 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4535, allocations: 12.03 kB / 1.155 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.4553, allocations: 339 kB / 1.155 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.4574, allocations: 1.121 MB / 1.156 GB, free: 15.67 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/0.4578, allocations: 117.9 kB / 1.156 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.4579, allocations: 88 kB / 1.156 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.4598, allocations: 0.9466 MB / 1.157 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.4598, allocations: 3.938 kB / 1.157 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.911e-05/0.4599, allocations: 32 kB / 1.157 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.4599, allocations: 20 kB / 1.157 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.4619, allocations: 0.8002 MB / 1.158 GB, free: 13.62 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.006296/0.4682, allocations: 4.749 MB / 1.163 GB, free: 8.523 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.4698, allocations: 0.5737 MB / 1.163 GB, free: 7.938 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005883/0.4704, allocations: 272.6 kB / 1.164 GB, free: 7.668 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/0.4718, allocations: 1.369 MB / 1.165 GB, free: 6.004 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.4719, allocations: 46.45 kB / 1.165 GB, free: 5.949 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/0.4719, allocations: 4 kB / 1.165 GB, free: 5.945 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.00709/0.479, allocations: 1.665 MB / 1.167 GB, free: 4.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.4791, allocations: 55.41 kB / 1.167 GB, free: 4.184 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.4807, allocations: 1.055 MB / 1.168 GB, free: 3.113 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.437e-05/0.4808, allocations: 41.69 kB / 1.168 GB, free: 3.066 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/0.4812, allocations: 0.5157 MB / 1.168 GB, free: 2.547 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.4814, allocations: 149.8 kB / 1.168 GB, free: 2.398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.4816, allocations: 126.1 kB / 1.169 GB, free: 2.27 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4817, allocations: 333.9 kB / 1.169 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/0.4824, allocations: 278.9 kB / 1.169 GB, free: 1.664 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009243/0.4834, allocations: 473.2 kB / 1.17 GB, free: 1.121 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.4847, allocations: 0.6311 MB / 1.17 GB, free: 444 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4848, allocations: 8 kB / 1.17 GB, free: 436 kB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002512/0.4873, allocations: 0.9265 MB / 1.171 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4873, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.4873, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.4886, allocations: 322.4 kB / 1.171 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.4891, allocations: 111.8 kB / 1.172 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.4906, allocations: 0.9113 MB / 1.172 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.4919, allocations: 159.3 kB / 1.173 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/0.492, allocations: 31.98 kB / 1.173 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00115/0.4931, allocations: 485.1 kB / 1.173 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009025/0.4941, allocations: 481 kB / 1.174 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001346/0.4954, allocations: 0.6161 MB / 1.174 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.112e-06/0.4954, allocations: 7.984 kB / 1.174 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002467/0.4979, allocations: 0.9216 MB / 1.175 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4979, allocations: 8 kB / 1.175 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4979, allocations: 4 kB / 1.175 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.4991, allocations: 311.2 kB / 1.175 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.4995, allocations: 107.8 kB / 1.176 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.501, allocations: 0.9151 MB / 1.176 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.5024, allocations: 139.6 kB / 1.177 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.5025, allocations: 31.98 kB / 1.177 GB, free: 9.75 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0003566/0.5028, allocations: 216.7 kB / 1.177 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.5031, allocations: 110.6 kB / 1.177 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.5062, allocations: 1.022 MB / 1.178 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.5062, allocations: 8 kB / 1.178 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5063, allocations: 0 / 1.178 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.5063, allocations: 7.922 kB / 1.178 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004875/0.5112, allocations: 2.076 MB / 1.18 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.5112, allocations: 4.031 kB / 1.18 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.5114, allocations: 63.84 kB / 1.18 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009742/0.5124, allocations: 298.3 kB / 1.18 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.5124, allocations: 12 kB / 1.18 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.5139, allocations: 0.9464 MB / 1.181 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5139, allocations: 7.938 kB / 1.181 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/0.5172, allocations: 1.105 MB / 1.182 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/0.5177, allocations: 259.5 kB / 1.183 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.5179, allocations: 8 kB / 1.183 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007933/0.5187, allocations: 95.69 kB / 1.183 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.605e-05/0.5188, allocations: 39.89 kB / 1.183 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.5189, allocations: 23.98 kB / 1.183 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001206/0.5201, allocations: 0.7391 MB / 1.183 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5201, allocations: 4 kB / 1.183 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001765/0.5219, allocations: 0.5653 MB / 1.184 GB, free: 1.949 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.0009259/0.5228, allocations: 396.8 kB / 1.184 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002936/0.5257, allocations: 1.023 MB / 1.185 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.5258, allocations: 0 / 1.185 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007756/0.5265, allocations: 326.8 kB / 1.186 GB, free: 228 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/0.5291, allocations: 0.5124 MB / 1.186 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/0.5336, allocations: 2.221 MB / 1.188 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008686/0.5345, allocations: 1.065 MB / 1.189 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001129/0.5356, allocations: 218.2 kB / 1.19 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.5358, allocations: 67.44 kB / 1.19 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of SimCode: time 1.252e-06/0.5358, allocations: 0 / 1.19 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of Templates: time 0.05455/0.5904, allocations: 24.67 MB / 1.214 GB, free: 3.695 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)