Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.344/2.344, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001183, allocations: 202.7 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 222.9 MB / 0.7948 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 106.4 kB / 0.9329 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 47.33 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2878, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.05455/0.3424, allocations: 74.74 MB / 1.291 GB, free: 42.21 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.3589, allocations: 12.83 MB / 1.304 GB, free: 29.35 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003758/0.3627, allocations: 59.62 kB / 1.304 GB, free: 29.29 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003503/0.3664, allocations: 0.676 MB / 1.304 GB, free: 28.61 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007544/0.3739, allocations: 2.267 MB / 1.307 GB, free: 26.33 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.3774, allocations: 1.257 MB / 1.308 GB, free: 25.09 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.005108/0.3825, allocations: 5.573 MB / 1.313 GB, free: 19.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.3841, allocations: 1.196 MB / 1.314 GB, free: 18.27 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002566/0.3867, allocations: 1.361 MB / 1.316 GB, free: 16.91 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.3879, allocations: 1.19 MB / 1.317 GB, free: 15.71 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.3881, allocations: 72 kB / 1.317 GB, free: 15.64 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.3906, allocations: 1.271 MB / 1.318 GB, free: 14.37 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.3909, allocations: 318.6 kB / 1.318 GB, free: 14.05 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007317/0.3916, allocations: 0.8162 MB / 1.319 GB, free: 13.23 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002575/0.3942, allocations: 2.789 MB / 1.322 GB, free: 10.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3942, allocations: 0 / 1.322 GB, free: 10.44 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3943, allocations: 0 / 1.322 GB, free: 10.44 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.3943, allocations: 4 kB / 1.322 GB, free: 10.43 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003302/0.3976, allocations: 2.092 MB / 1.324 GB, free: 8.273 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3976, allocations: 11.98 kB / 1.324 GB, free: 8.262 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007221/0.3984, allocations: 222.9 kB / 1.324 GB, free: 8.043 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.4005, allocations: 1.497 MB / 1.326 GB, free: 6.492 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.4005, allocations: 74 kB / 1.326 GB, free: 6.418 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.4007, allocations: 100 kB / 1.326 GB, free: 6.32 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.4022, allocations: 1.1 MB / 1.327 GB, free: 5.188 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.4023, allocations: 3.984 kB / 1.327 GB, free: 5.184 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/0.4024, allocations: 48 kB / 1.327 GB, free: 5.137 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.4024, allocations: 28 kB / 1.327 GB, free: 5.109 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.404, allocations: 0.8938 MB / 1.328 GB, free: 4.211 MB / 0.823 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.004689/0.4087, allocations: 4.911 MB / 1.333 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.41, allocations: 0.6299 MB / 1.333 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007051/0.4107, allocations: 351.3 kB / 1.334 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007063/0.4114, allocations: 0.8238 MB / 1.334 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.4115, allocations: 47.06 kB / 1.335 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=62): time 3.046e-06/0.4115, allocations: 0 / 1.335 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=62): time 0.007052/0.4185, allocations: 1.689 MB / 1.336 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.4186, allocations: 59.97 kB / 1.336 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.4202, allocations: 1.214 MB / 1.337 GB, free: 9.949 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-05/0.4203, allocations: 37.7 kB / 1.337 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004847/0.4208, allocations: 0.5988 MB / 1.338 GB, free: 9.301 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.421, allocations: 216.8 kB / 1.338 GB, free: 9.086 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.4213, allocations: 162.5 kB / 1.338 GB, free: 8.922 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4214, allocations: 330 kB / 1.339 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006908/0.4221, allocations: 300.6 kB / 1.339 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008321/0.4229, allocations: 483 kB / 1.339 GB, free: 7.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.4244, allocations: 0.7082 MB / 1.34 GB, free: 6.992 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4244, allocations: 3.938 kB / 1.34 GB, free: 6.988 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004875/0.4293, allocations: 1.277 MB / 1.341 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.4293, allocations: 4 kB / 1.341 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4293, allocations: 4 kB / 1.341 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008307/0.4302, allocations: 161 kB / 1.342 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/0.4309, allocations: 155.8 kB / 1.342 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009999/0.4319, allocations: 0.7239 MB / 1.342 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.4333, allocations: 151.1 kB / 1.343 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.712e-05/0.4334, allocations: 31.98 kB / 1.343 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001273/0.4347, allocations: 0.5527 MB / 1.343 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008153/0.4355, allocations: 491 kB / 1.344 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001356/0.4369, allocations: 0.7004 MB / 1.344 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.471e-06/0.4369, allocations: 4 kB / 1.344 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004881/0.4418, allocations: 1.269 MB / 1.346 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4418, allocations: 11.98 kB / 1.346 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.4419, allocations: 0 / 1.346 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/0.4425, allocations: 152.9 kB / 1.346 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.4431, allocations: 163.8 kB / 1.346 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000817/0.4439, allocations: 0.7201 MB / 1.347 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.4453, allocations: 135.5 kB / 1.347 GB, free: 108 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/0.4454, allocations: 31.98 kB / 1.347 GB, free: 76 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003355/0.4457, allocations: 228.7 kB / 1.347 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.446, allocations: 138.3 kB / 1.347 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004787/0.4508, allocations: 1.287 MB / 1.348 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.4509, allocations: 7.984 kB / 1.348 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.4509, allocations: 4 kB / 1.348 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004103/0.455, allocations: 1.103 MB / 1.349 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007146/0.4622, allocations: 2.61 MB / 1.352 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.4622, allocations: 4 kB / 1.352 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.4627, allocations: 115.8 kB / 1.352 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005985/0.4633, allocations: 148.9 kB / 1.352 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.4634, allocations: 27.98 kB / 1.352 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007908/0.4642, allocations: 0.7044 MB / 1.353 GB, free: 9.508 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/0.4642, allocations: 8.062 kB / 1.353 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04013/0.5044, allocations: 12.02 MB / 1.365 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005763/0.505, allocations: 311.2 kB / 1.365 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.5051, allocations: 19.94 kB / 1.365 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008953/0.506, allocations: 91.86 kB / 1.365 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.5062, allocations: 56.25 kB / 1.365 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.5063, allocations: 31.98 kB / 1.365 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001347/0.5076, allocations: 0.8699 MB / 1.366 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5076, allocations: 0 / 1.366 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003112/0.5108, allocations: 1.096 MB / 1.367 GB, free: 10.59 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009887/0.5118, allocations: 470.6 kB / 1.368 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002625/0.5144, allocations: 1.11 MB / 1.369 GB, free: 9.023 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.5144, allocations: 0 / 1.369 GB, free: 9.023 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008779/0.5153, allocations: 391.2 kB / 1.369 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/0.519, allocations: 0.7628 MB / 1.37 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/0.5238, allocations: 3.344 MB / 1.373 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007252/0.5245, allocations: 1.198 MB / 1.374 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001347/0.5259, allocations: 311 kB / 1.374 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.5261, allocations: 115.3 kB / 1.375 GB, free: 2.805 MB / 0.8698 GB Notification: Performance of SimCode: time 7.41e-07/0.5261, allocations: 0 / 1.375 GB, free: 2.805 MB / 0.8698 GB Notification: Performance of Templates: time 0.05587/0.582, allocations: 33.77 MB / 1.408 GB, free: 1.348 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)