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.001001/0.001001, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009206/0.009206, allocations: 170.8 kB / 16.26 MB, free: 6.676 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.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004688, allocations: 11.59 kB / 0.9158 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3901, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06354/0.4537, allocations: 59.78 MB / 1.133 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01833/0.4721, allocations: 11.93 MB / 1.144 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/0.4746, allocations: 51.62 kB / 1.144 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.4765, allocations: 0.5477 MB / 1.145 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005777/0.4823, allocations: 1.8 MB / 1.146 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.4854, allocations: 1.074 MB / 1.148 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005363/0.4908, allocations: 3.9 MB / 1.151 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.4924, allocations: 0.906 MB / 1.152 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002667/0.4951, allocations: 1.124 MB / 1.153 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.4965, allocations: 0.8514 MB / 1.154 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.4966, allocations: 44 kB / 1.154 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.4997, allocations: 1.345 MB / 1.156 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.5, allocations: 218.8 kB / 1.156 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007814/0.5008, allocations: 0.6311 MB / 1.156 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003003/0.5038, allocations: 2.204 MB / 1.158 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5038, allocations: 3.984 kB / 1.158 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5038, allocations: 0 / 1.158 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.5038, allocations: 0 / 1.158 GB, free: 0.8555 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.002667/0.5065, allocations: 1.493 MB / 1.16 GB, free: 15.3 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5066, allocations: 11.97 kB / 1.16 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.5083, allocations: 387 kB / 1.16 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.5106, allocations: 1.124 MB / 1.161 GB, free: 13.73 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003807/0.511, allocations: 125.9 kB / 1.162 GB, free: 13.61 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.5112, allocations: 80 kB / 1.162 GB, free: 13.53 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.5132, allocations: 0.97 MB / 1.163 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.5132, allocations: 0 / 1.163 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/0.5133, allocations: 32 kB / 1.163 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.5133, allocations: 20 kB / 1.163 GB, free: 12.46 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.5155, allocations: 0.847 MB / 1.163 GB, free: 11.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.006457/0.522, allocations: 4.788 MB / 1.168 GB, free: 6.477 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.5237, allocations: 0.6092 MB / 1.169 GB, free: 5.855 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/0.5244, allocations: 284.7 kB / 1.169 GB, free: 5.574 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/0.526, allocations: 1.396 MB / 1.17 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.5261, allocations: 42.45 kB / 1.17 GB, free: 3.832 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 3.286e-06/0.5261, allocations: 0 / 1.17 GB, free: 3.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.007413/0.5335, allocations: 1.844 MB / 1.172 GB, free: 1.957 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.5335, allocations: 55.41 kB / 1.172 GB, free: 1.891 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.5352, allocations: 1.063 MB / 1.173 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/0.5353, allocations: 33.7 kB / 1.173 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.5358, allocations: 0.5274 MB / 1.174 GB, free: 248 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.5359, allocations: 145.8 kB / 1.174 GB, free: 100 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.536, allocations: 49.69 kB / 1.174 GB, free: 44 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.5362, allocations: 337.9 kB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008124/0.537, allocations: 284.9 kB / 1.175 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009885/0.538, allocations: 497.3 kB / 1.175 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.5396, allocations: 0.6702 MB / 1.176 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5396, allocations: 0 / 1.176 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002609/0.5422, allocations: 0.9693 MB / 1.177 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.5424, allocations: 221.1 kB / 1.177 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5424, allocations: 4 kB / 1.177 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.5438, allocations: 339 kB / 1.177 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.5443, allocations: 119.8 kB / 1.177 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.5459, allocations: 0.9271 MB / 1.178 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.5473, allocations: 187.1 kB / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.437e-05/0.5474, allocations: 27.98 kB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.5474, allocations: 7.938 kB / 1.178 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002445/0.5498, allocations: 0.8553 MB / 1.179 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5499, allocations: 4 kB / 1.179 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.5511, allocations: 322.9 kB / 1.18 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.5516, allocations: 111.9 kB / 1.18 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/0.5532, allocations: 0.9426 MB / 1.181 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.5544, allocations: 155.3 kB / 1.181 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/0.5545, allocations: 31.98 kB / 1.181 GB, free: 8.816 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.0006395/0.5551, allocations: 353.4 kB / 1.181 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/0.5554, allocations: 110.6 kB / 1.181 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/0.5588, allocations: 1.076 MB / 1.182 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.5588, allocations: 4 kB / 1.182 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.5588, allocations: 0 / 1.182 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.5589, allocations: 7.984 kB / 1.182 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005707/0.5646, allocations: 2.165 MB / 1.184 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.5646, allocations: 0 / 1.184 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.5648, allocations: 55.91 kB / 1.184 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.5659, allocations: 332.5 kB / 1.185 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.566, allocations: 12 kB / 1.185 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.5676, allocations: 0.9751 MB / 1.186 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.5677, allocations: 4.031 kB / 1.186 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003801/0.5715, allocations: 1.195 MB / 1.187 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000591/0.5721, allocations: 271.5 kB / 1.187 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/0.5723, allocations: 8 kB / 1.187 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5733, allocations: 103.8 kB / 1.187 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.5734, allocations: 43.77 kB / 1.187 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.5735, allocations: 23.98 kB / 1.187 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00137/0.5749, allocations: 0.743 MB / 1.188 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5749, allocations: 0 / 1.188 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001848/0.5768, allocations: 0.5691 MB / 1.189 GB, free: 0.5781 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.0009826/0.5777, allocations: 403.5 kB / 1.189 GB, free: 192 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003226/0.581, allocations: 1.054 MB / 1.19 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.581, allocations: 4 kB / 1.19 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008731/0.5819, allocations: 334.8 kB / 1.19 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/0.5853, allocations: 0.5152 MB / 1.191 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/0.5896, allocations: 2.26 MB / 1.193 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008107/0.5905, allocations: 1.062 MB / 1.194 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001095/0.5916, allocations: 207.9 kB / 1.194 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.5919, allocations: 75.42 kB / 1.194 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of SimCode: time 2.034e-06/0.5919, allocations: 4 kB / 1.194 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of Templates: time 0.04632/0.6382, allocations: 24.03 MB / 1.218 GB, free: 2.84 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)