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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 252 MB / 267.6 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 180.1 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009071/0.0009071, allocations: 83.86 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003843, allocations: 10.03 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2705, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05283/0.3234, allocations: 69.42 MB / 0.9686 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01957/0.3431, allocations: 11.79 MB / 0.9801 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/0.3462, allocations: 55.62 kB / 0.9802 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.3488, allocations: 0.5627 MB / 0.9807 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007104/0.3559, allocations: 1.869 MB / 0.9826 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.3596, allocations: 0.952 MB / 0.9835 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008273/0.3679, allocations: 4.745 MB / 0.9881 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/0.3708, allocations: 1.002 MB / 0.9891 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.3746, allocations: 1.264 MB / 0.9903 GB, free: 4 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.377, allocations: 1.054 MB / 0.9914 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.3773, allocations: 56 kB / 0.9914 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.3804, allocations: 0.9238 MB / 0.9923 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000378/0.3808, allocations: 270.7 kB / 0.9926 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007937/0.3816, allocations: 360.8 kB / 0.9929 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00306/0.3846, allocations: 2.069 MB / 0.9949 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.3847, allocations: 3.938 kB / 0.9949 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3847, allocations: 0 / 0.9949 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.085e-05/0.3847, allocations: 0 / 0.9949 GB, free: 15.26 MB / 0.6511 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.003901/0.3886, allocations: 1.791 MB / 0.9967 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3887, allocations: 8.031 kB / 0.9967 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008133/0.3895, allocations: 238 kB / 0.9969 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.3922, allocations: 1.427 MB / 0.9983 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.394e-05/0.3922, allocations: 70 kB / 0.9984 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.3924, allocations: 104 kB / 0.9985 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.3947, allocations: 1.108 MB / 0.9996 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.3947, allocations: 0 / 0.9996 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/0.3948, allocations: 44 kB / 0.9996 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/0.3948, allocations: 31.97 kB / 0.9996 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.397, allocations: 0.9173 MB / 1.001 GB, free: 9.371 MB / 0.6511 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.007079/0.4041, allocations: 4.903 MB / 1.005 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.4056, allocations: 0.6397 MB / 1.006 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007628/0.4064, allocations: 374.3 kB / 1.006 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007677/0.4071, allocations: 0.8277 MB / 1.007 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.4072, allocations: 47.12 kB / 1.007 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.027e-06/0.4072, allocations: 0 / 1.007 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.007857/0.4151, allocations: 1.873 MB / 1.009 GB, free: 196 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.4151, allocations: 55.97 kB / 1.009 GB, free: 128 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.4171, allocations: 1.194 MB / 1.01 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.4173, allocations: 49.7 kB / 1.01 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000604/0.4179, allocations: 0.5947 MB / 1.011 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/0.4181, allocations: 220.9 kB / 1.011 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.4182, allocations: 12 kB / 1.011 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4184, allocations: 337.9 kB / 1.011 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006808/0.419, allocations: 293.8 kB / 1.012 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008675/0.4199, allocations: 0.5037 MB / 1.012 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/0.4207, allocations: 363 kB / 1.013 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4207, allocations: 0 / 1.013 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004806/0.4255, allocations: 1.39 MB / 1.014 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.4257, allocations: 197.9 kB / 1.014 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.4257, allocations: 4 kB / 1.014 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006455/0.4264, allocations: 156.5 kB / 1.014 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006325/0.427, allocations: 167.8 kB / 1.014 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008639/0.4279, allocations: 0.7084 MB / 1.015 GB, free: 9.758 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.4293, allocations: 167.1 kB / 1.015 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.4294, allocations: 35.97 kB / 1.015 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.4294, allocations: 4 kB / 1.015 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004472/0.4339, allocations: 1.246 MB / 1.016 GB, free: 8.305 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4339, allocations: 8.062 kB / 1.016 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005172/0.4344, allocations: 144.7 kB / 1.017 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.4351, allocations: 167.8 kB / 1.017 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008731/0.4359, allocations: 0.7006 MB / 1.017 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.4374, allocations: 171.9 kB / 1.018 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/0.4375, allocations: 28 kB / 1.018 GB, free: 7.066 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008049/0.4383, allocations: 420.9 kB / 1.018 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.4386, allocations: 134.3 kB / 1.018 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004775/0.4434, allocations: 1.396 MB / 1.02 GB, free: 5.102 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.4434, allocations: 8 kB / 1.02 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4434, allocations: 0 / 1.02 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004148/0.4476, allocations: 1.228 MB / 1.021 GB, free: 3.828 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007665/0.4553, allocations: 2.731 MB / 1.023 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.4553, allocations: 4.438 kB / 1.023 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/0.4558, allocations: 119.9 kB / 1.024 GB, free: 0.8633 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005284/0.4564, allocations: 136.7 kB / 1.024 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.548e-05/0.4564, allocations: 24 kB / 1.024 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005026/0.4615, allocations: 2.439 MB / 1.026 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4615, allocations: 4 kB / 1.026 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00589/0.4674, allocations: 1.848 MB / 1.028 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.4687, allocations: 331 kB / 1.028 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/0.4691, allocations: 16.28 kB / 1.028 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.4706, allocations: 99.84 kB / 1.028 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.4707, allocations: 60.27 kB / 1.028 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.453e-05/0.4708, allocations: 31.97 kB / 1.028 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001784/0.4726, allocations: 0.8502 MB / 1.029 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4726, allocations: 0 / 1.029 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002683/0.4753, allocations: 0.7018 MB / 1.03 GB, free: 10.1 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/0.4764, allocations: 427.9 kB / 1.03 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002998/0.4794, allocations: 1.164 MB / 1.031 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.4794, allocations: 4 kB / 1.031 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.4809, allocations: 0.5955 MB / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/0.4847, allocations: 0.7644 MB / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/0.4891, allocations: 2.795 MB / 1.036 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008349/0.49, allocations: 1.164 MB / 1.037 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.4903, allocations: 107.4 kB / 1.037 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of SimCode: time 7.72e-07/0.4903, allocations: 0 / 1.037 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of Templates: time 0.4706/0.9609, allocations: 30.63 MB / 1.067 GB, free: 144.7 MB / 0.698 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)