Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, 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.002105/0.002106, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.677/1.677, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.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.001503/0.001503, allocations: 77.72 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3039, allocations: 114.5 MB / 0.7833 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06245/0.3664, allocations: 61.21 MB / 0.8431 GB, free: 84 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01788/0.3844, allocations: 11.9 MB / 0.8547 GB, free: 4.148 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002861/0.3873, allocations: 55.69 kB / 0.8548 GB, free: 4.094 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.3897, allocations: 0.6791 MB / 0.8555 GB, free: 3.41 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006325/0.3961, allocations: 1.946 MB / 0.8574 GB, free: 1.457 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.3998, allocations: 1.214 MB / 0.8586 GB, free: 256 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005213/0.405, allocations: 3.078 MB / 0.8616 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.407, allocations: 1.104 MB / 0.8626 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/0.4109, allocations: 1.348 MB / 0.864 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.4124, allocations: 0.9061 MB / 0.8648 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.4126, allocations: 116 kB / 0.8649 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003701/0.4163, allocations: 1.435 MB / 0.8663 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003572/0.4167, allocations: 294.9 kB / 0.8666 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009037/0.4176, allocations: 0.6997 MB / 0.8673 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004987/0.4226, allocations: 2.298 MB / 0.8696 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4227, allocations: 0 / 0.8696 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4227, allocations: 0 / 0.8696 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.4227, allocations: 0 / 0.8696 GB, free: 4.926 MB / 0.6856 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.003363/0.4261, allocations: 1.742 MB / 0.8713 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4262, allocations: 12.03 kB / 0.8713 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.4283, allocations: 414.8 kB / 0.8717 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.4305, allocations: 1.105 MB / 0.8727 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003521/0.4309, allocations: 121.9 kB / 0.8729 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.431, allocations: 80 kB / 0.8729 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.433, allocations: 0.9998 MB / 0.8739 GB, free: 300 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.433, allocations: 3.938 kB / 0.8739 GB, free: 296 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.759e-05/0.4331, allocations: 32 kB / 0.8739 GB, free: 264 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.4331, allocations: 20 kB / 0.874 GB, free: 244 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.4354, allocations: 0.8743 MB / 0.8748 GB, free: 15.36 MB / 0.7012 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.006555/0.4419, allocations: 4.986 MB / 0.8797 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003428/0.4454, allocations: 0.8408 MB / 0.8805 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007416/0.4461, allocations: 310 kB / 0.8808 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.4468, allocations: 0.9068 MB / 0.8817 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.4468, allocations: 35 kB / 0.8817 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.505e-06/0.4469, allocations: 0 / 0.8817 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.00727/0.4541, allocations: 1.807 MB / 0.8835 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.4542, allocations: 59.84 kB / 0.8835 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.4558, allocations: 1.084 MB / 0.8846 GB, free: 4.742 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.842e-05/0.456, allocations: 37.7 kB / 0.8846 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005253/0.4565, allocations: 0.535 MB / 0.8852 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.4567, allocations: 165.7 kB / 0.8853 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.457, allocations: 146.1 kB / 0.8855 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4571, allocations: 337.9 kB / 0.8858 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009082/0.4581, allocations: 323.2 kB / 0.8861 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.4591, allocations: 0.5317 MB / 0.8866 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.4609, allocations: 0.7326 MB / 0.8873 GB, free: 1.766 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4609, allocations: 4 kB / 0.8873 GB, free: 1.762 MB / 0.7012 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002952/0.4638, allocations: 1.046 MB / 0.8884 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.4639, allocations: 8 kB / 0.8884 GB, free: 0.6992 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.4639, allocations: 7.938 kB / 0.8884 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.4652, allocations: 312.5 kB / 0.8887 GB, free: 392 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.4657, allocations: 147.8 kB / 0.8888 GB, free: 244 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.4672, allocations: 0.9113 MB / 0.8897 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.4685, allocations: 163.1 kB / 0.8898 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/0.4686, allocations: 35.98 kB / 0.8899 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/0.4698, allocations: 0.5246 MB / 0.8904 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001069/0.4709, allocations: 0.5356 MB / 0.8909 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001725/0.4726, allocations: 0.7287 MB / 0.8916 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.4726, allocations: 3.938 kB / 0.8916 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.002658/0.4753, allocations: 1.042 MB / 0.8927 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4753, allocations: 11.94 kB / 0.8927 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4754, allocations: 4 kB / 0.8927 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.4764, allocations: 303.6 kB / 0.893 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/0.477, allocations: 131.8 kB / 0.8931 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.4784, allocations: 0.9152 MB / 0.894 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.4795, allocations: 139.6 kB / 0.8941 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.4796, allocations: 27.98 kB / 0.8941 GB, free: 10.55 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (61): * Single equations (assignments): 60 * 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.0002825/0.4799, allocations: 230.5 kB / 0.8944 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.4801, allocations: 110.6 kB / 0.8945 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.4827, allocations: 0.9949 MB / 0.8954 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.4827, allocations: 8 kB / 0.8954 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4827, allocations: 0 / 0.8954 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.4827, allocations: 3.984 kB / 0.8954 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006089/0.4888, allocations: 2.356 MB / 0.8977 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.4888, allocations: 7.984 kB / 0.8978 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.4892, allocations: 67.88 kB / 0.8978 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.4903, allocations: 299.9 kB / 0.8981 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.4903, allocations: 19.98 kB / 0.8981 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.492, allocations: 0.9424 MB / 0.899 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.492, allocations: 4 kB / 0.899 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004114/0.4961, allocations: 1.196 MB / 0.9002 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006571/0.4968, allocations: 275.5 kB / 0.9005 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.497, allocations: 8 kB / 0.9005 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008388/0.4978, allocations: 75.91 kB / 0.9006 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4979, allocations: 43.83 kB / 0.9006 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/0.498, allocations: 23.98 kB / 0.9006 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001311/0.4993, allocations: 0.7553 MB / 0.9014 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4993, allocations: 4 kB / 0.9014 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001828/0.5012, allocations: 0.5732 MB / 0.9019 GB, free: 2.355 MB / 0.7169 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 (37): * Single equations (assignments): 32 * 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.000945/0.5021, allocations: 389.3 kB / 0.9023 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003576/0.5057, allocations: 1.21 MB / 0.9035 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.5057, allocations: 0 / 0.9035 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009745/0.5067, allocations: 367.5 kB / 0.9038 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.5095, allocations: 0.5337 MB / 0.9043 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005823/0.5154, allocations: 2.078 MB / 0.9064 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008065/0.5162, allocations: 1.066 MB / 0.9074 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001349/0.5176, allocations: 245 kB / 0.9077 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.5178, allocations: 79.42 kB / 0.9077 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/0.5178, allocations: 0 / 0.9077 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.5467/1.065, allocations: 25.52 MB / 0.9327 GB, free: 132.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)