Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005088/0.005088, allocations: 102.4 kB / 15.73 MB, free: 6.062 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.001156/0.001156, allocations: 195.9 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.636/1.636, allocations: 251.7 MB / 0.5094 GB, free: 3.074 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 67.89 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2727, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07391/0.3466, allocations: 75.17 MB / 0.9014 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.7245/1.071, allocations: 12.59 MB / 0.9137 GB, free: 27.22 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00418/1.075, allocations: 62.84 kB / 0.9138 GB, free: 27.22 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004119/1.08, allocations: 0.8257 MB / 0.9146 GB, free: 27.21 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01061/1.09, allocations: 2.439 MB / 0.917 GB, free: 27.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006181/1.097, allocations: 1.365 MB / 0.9183 GB, free: 27.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01197/1.109, allocations: 4.342 MB / 0.9226 GB, free: 27.08 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004513/1.113, allocations: 1.421 MB / 0.924 GB, free: 26.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006955/1.12, allocations: 1.624 MB / 0.9255 GB, free: 26.79 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00428/1.124, allocations: 1.193 MB / 0.9267 GB, free: 26.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006902/1.125, allocations: 165.3 kB / 0.9269 GB, free: 26.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006253/1.131, allocations: 1.406 MB / 0.9282 GB, free: 26.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008586/1.132, allocations: 393.2 kB / 0.9286 GB, free: 26.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002578/1.135, allocations: 0.8957 MB / 0.9295 GB, free: 26.1 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009135/1.144, allocations: 2.855 MB / 0.9323 GB, free: 25.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/1.144, allocations: 1.125 kB / 0.9323 GB, free: 25.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.976e-06/1.144, allocations: 0.6562 kB / 0.9323 GB, free: 25.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.496e-05/1.144, allocations: 0 / 0.9323 GB, free: 25.73 MB / 0.7169 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.006801/1.151, allocations: 2.08 MB / 0.9343 GB, free: 24.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/1.151, allocations: 9.125 kB / 0.9343 GB, free: 24.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/1.152, allocations: 226.8 kB / 0.9345 GB, free: 24.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003564/1.156, allocations: 1.503 MB / 0.936 GB, free: 23.45 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/1.156, allocations: 76.78 kB / 0.9361 GB, free: 23.42 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/1.156, allocations: 102.1 kB / 0.9362 GB, free: 23.39 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/1.159, allocations: 1.097 MB / 0.9372 GB, free: 22.89 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/1.159, allocations: 5.125 kB / 0.9372 GB, free: 22.89 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.814e-05/1.159, allocations: 41.66 kB / 0.9373 GB, free: 22.86 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/1.159, allocations: 24.86 kB / 0.9373 GB, free: 22.86 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/1.161, allocations: 0.8858 MB / 0.9382 GB, free: 22.55 MB / 0.7169 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.007307/1.168, allocations: 4.893 MB / 0.9429 GB, free: 19.17 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/1.17, allocations: 0.6196 MB / 0.9436 GB, free: 18.95 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007729/1.171, allocations: 352.5 kB / 0.9439 GB, free: 18.83 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005612/1.172, allocations: 0.8327 MB / 0.9447 GB, free: 17.88 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/1.172, allocations: 37.62 kB / 0.9447 GB, free: 17.83 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.665e-06/1.172, allocations: 0 / 0.9447 GB, free: 17.83 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.00805/1.18, allocations: 1.678 MB / 0.9464 GB, free: 17.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/1.18, allocations: 58.03 kB / 0.9464 GB, free: 17.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/1.182, allocations: 1.222 MB / 0.9476 GB, free: 16.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002392/1.183, allocations: 43.11 kB / 0.9477 GB, free: 16.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005752/1.183, allocations: 0.6038 MB / 0.9483 GB, free: 16.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/1.184, allocations: 212.4 kB / 0.9485 GB, free: 16.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/1.184, allocations: 156.8 kB / 0.9486 GB, free: 16.01 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/1.184, allocations: 333.9 kB / 0.9489 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007828/1.185, allocations: 293 kB / 0.9492 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009366/1.186, allocations: 494.5 kB / 0.9497 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/1.187, allocations: 0.7102 MB / 0.9504 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/1.187, allocations: 1.281 kB / 0.9504 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005499/1.193, allocations: 1.277 MB / 0.9516 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/1.193, allocations: 5.062 kB / 0.9516 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/1.193, allocations: 6.719 kB / 0.9516 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007209/1.194, allocations: 132.5 kB / 0.9518 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/1.194, allocations: 164.6 kB / 0.9519 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008262/1.195, allocations: 0.6834 MB / 0.9526 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.197, allocations: 121.5 kB / 0.9527 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/1.197, allocations: 31.23 kB / 0.9527 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001478/1.198, allocations: 0.5595 MB / 0.9533 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009057/1.199, allocations: 496.2 kB / 0.9537 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001399/1.201, allocations: 0.7071 MB / 0.9544 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.497e-06/1.201, allocations: 2.125 kB / 0.9544 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005295/1.206, allocations: 1.271 MB / 0.9557 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.206, allocations: 6.062 kB / 0.9557 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.206, allocations: 3.906 kB / 0.9557 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005629/1.207, allocations: 131 kB / 0.9558 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/1.207, allocations: 162.2 kB / 0.956 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007666/1.208, allocations: 0.7002 MB / 0.9567 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/1.21, allocations: 105 kB / 0.9568 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/1.21, allocations: 39.61 kB / 0.9568 GB, free: 11.73 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003422/1.211, allocations: 220.8 kB / 0.957 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004483/1.211, allocations: 132 kB / 0.9571 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004903/1.216, allocations: 1.267 MB / 0.9584 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/1.216, allocations: 10.16 kB / 0.9584 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/1.216, allocations: 0 / 0.9584 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003927/1.22, allocations: 1.101 MB / 0.9594 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007453/1.228, allocations: 2.602 MB / 0.962 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.228, allocations: 3.25 kB / 0.962 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/1.228, allocations: 123.6 kB / 0.9621 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004758/1.229, allocations: 126.5 kB / 0.9622 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/1.229, allocations: 21.53 kB / 0.9623 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004594/1.233, allocations: 2.576 MB / 0.9648 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.233, allocations: 5.844 kB / 0.9648 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005691/1.239, allocations: 1.698 MB / 0.9664 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.24, allocations: 305.7 kB / 0.9667 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000597/1.241, allocations: 17.22 kB / 0.9667 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.242, allocations: 53.84 kB / 0.9668 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/1.242, allocations: 60.77 kB / 0.9668 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/1.242, allocations: 33.14 kB / 0.9669 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001772/1.244, allocations: 0.8803 MB / 0.9677 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/1.244, allocations: 0 / 0.9677 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003333/1.248, allocations: 0.7155 MB / 0.9684 GB, free: 4.027 MB / 0.7169 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/1.249, allocations: 463.6 kB / 0.9689 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002951/1.252, allocations: 1.123 MB / 0.97 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.252, allocations: 2.531 kB / 0.97 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/1.253, allocations: 0.556 MB / 0.9705 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005066/1.259, allocations: 0.8127 MB / 0.9713 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/1.263, allocations: 2.261 MB / 0.9735 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/1.264, allocations: 1.17 MB / 0.9747 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001389/1.265, allocations: 307.2 kB / 0.975 GB, free: 20 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/1.265, allocations: 103.4 kB / 0.9751 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of SimCode: time 1.092e-06/1.265, allocations: 0 / 0.9751 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.05893/1.324, allocations: 32.43 MB / 1.007 GB, free: 15.97 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)