Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001512/0.001512, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 66.72 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4064, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.0593/0.4657, allocations: 61.23 MB / 1.128 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0192/0.485, allocations: 12 MB / 1.14 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00314/0.4882, allocations: 59.62 kB / 1.14 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002603/0.4908, allocations: 0.6752 MB / 1.14 GB, free: 252 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007197/0.4981, allocations: 1.97 MB / 1.142 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004495/0.5026, allocations: 1.201 MB / 1.143 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006158/0.5088, allocations: 3.068 MB / 1.146 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.5108, allocations: 1.1 MB / 1.148 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003805/0.5147, allocations: 1.334 MB / 1.149 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.5166, allocations: 0.8945 MB / 1.15 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002826/0.5169, allocations: 112 kB / 1.15 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003655/0.5206, allocations: 1.462 MB / 1.151 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003728/0.521, allocations: 294.9 kB / 1.152 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.5221, allocations: 0.6919 MB / 1.152 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003972/0.526, allocations: 2.279 MB / 1.154 GB, free: 1.789 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5261, allocations: 4 kB / 1.154 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5261, allocations: 0 / 1.154 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.5261, allocations: 0 / 1.154 GB, free: 1.785 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.003043/0.5291, allocations: 1.726 MB / 1.156 GB, free: 15.99 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5292, allocations: 12.03 kB / 1.156 GB, free: 15.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.5309, allocations: 346.9 kB / 1.156 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.533, allocations: 1.103 MB / 1.158 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003704/0.5334, allocations: 113.9 kB / 1.158 GB, free: 14.38 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.5335, allocations: 80 kB / 1.158 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.5354, allocations: 0.9742 MB / 1.159 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.5355, allocations: 4 kB / 1.159 GB, free: 13.26 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/0.5356, allocations: 32 kB / 1.159 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.5356, allocations: 16 kB / 1.159 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.5376, allocations: 0.8118 MB / 1.16 GB, free: 12.4 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.006974/0.5446, allocations: 5.172 MB / 1.165 GB, free: 6.859 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.5464, allocations: 0.5784 MB / 1.165 GB, free: 6.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006154/0.5471, allocations: 274.2 kB / 1.165 GB, free: 6 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/0.5486, allocations: 1.361 MB / 1.167 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.5487, allocations: 50.45 kB / 1.167 GB, free: 4.285 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.364e-06/0.5487, allocations: 0 / 1.167 GB, free: 4.285 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.007729/0.5564, allocations: 1.665 MB / 1.168 GB, free: 2.59 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.5565, allocations: 55.41 kB / 1.168 GB, free: 2.523 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.5583, allocations: 1.08 MB / 1.17 GB, free: 1.43 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/0.5584, allocations: 33.7 kB / 1.17 GB, free: 1.391 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/0.5588, allocations: 0.5389 MB / 1.17 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.5589, allocations: 149.8 kB / 1.17 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.5591, allocations: 142.1 kB / 1.17 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.5593, allocations: 333.9 kB / 1.171 GB, free: 228 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000805/0.5601, allocations: 279.4 kB / 1.171 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.5612, allocations: 0.497 MB / 1.171 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.5631, allocations: 0.6753 MB / 1.172 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.5631, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003172/0.5663, allocations: 0.9694 MB / 1.173 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.5663, allocations: 8 kB / 1.173 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5664, allocations: 4 kB / 1.173 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.5678, allocations: 312.7 kB / 1.173 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.5683, allocations: 119.8 kB / 1.173 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.57, allocations: 0.9169 MB / 1.174 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.5713, allocations: 147.2 kB / 1.174 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/0.5714, allocations: 35.98 kB / 1.175 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001359/0.5728, allocations: 493.9 kB / 1.175 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001113/0.5739, allocations: 0.4969 MB / 1.175 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001568/0.5755, allocations: 0.6549 MB / 1.176 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.441e-06/0.5755, allocations: 4 kB / 1.176 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002782/0.5783, allocations: 0.9577 MB / 1.177 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5783, allocations: 12.03 kB / 1.177 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5783, allocations: 4 kB / 1.177 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.5795, allocations: 304.7 kB / 1.177 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.58, allocations: 115.8 kB / 1.177 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.5817, allocations: 0.9172 MB / 1.178 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.583, allocations: 123.6 kB / 1.178 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/0.5831, allocations: 35.98 kB / 1.179 GB, free: 7.77 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0002784/0.5833, allocations: 220.1 kB / 1.179 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.5836, allocations: 114.6 kB / 1.179 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.587, allocations: 1.026 MB / 1.18 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.587, allocations: 7.984 kB / 1.18 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.587, allocations: 3.938 kB / 1.18 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.587, allocations: 0 / 1.18 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/0.5922, allocations: 2.079 MB / 1.182 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.5922, allocations: 4 kB / 1.182 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.5924, allocations: 55.91 kB / 1.182 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.5935, allocations: 308.7 kB / 1.182 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.5936, allocations: 11.98 kB / 1.182 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.5951, allocations: 0.9359 MB / 1.183 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.884e-05/0.5952, allocations: 11.95 kB / 1.183 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00376/0.599, allocations: 1.109 MB / 1.184 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006158/0.5996, allocations: 263.5 kB / 1.185 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.5998, allocations: 8 kB / 1.185 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007726/0.6006, allocations: 67.92 kB / 1.185 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.6007, allocations: 39.89 kB / 1.185 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-05/0.6007, allocations: 23.98 kB / 1.185 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001332/0.6021, allocations: 0.7512 MB / 1.185 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.154e-06/0.6021, allocations: 4 kB / 1.185 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001771/0.6039, allocations: 0.5849 MB / 1.186 GB, free: 15.95 MB / 0.9512 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.001025/0.6049, allocations: 401.1 kB / 1.186 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003083/0.608, allocations: 1.058 MB / 1.187 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.608, allocations: 7.938 kB / 1.187 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008548/0.6089, allocations: 318.8 kB / 1.188 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.6113, allocations: 0.521 MB / 1.188 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.615, allocations: 1.84 MB / 1.19 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/0.6157, allocations: 1.065 MB / 1.191 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001002/0.6167, allocations: 222.6 kB / 1.191 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.6169, allocations: 75.42 kB / 1.191 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of SimCode: time 1.022e-06/0.6169, allocations: 0 / 1.191 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.05059/0.6675, allocations: 25.09 MB / 1.216 GB, free: 1.602 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)