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.001299/0.001299, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001368/0.001368, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.682/1.682, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.831/1.831, allocations: 292.3 MB / 0.5485 GB, free: 13.6 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.001344/0.001344, allocations: 65.36 kB / 0.671 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2858, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05892/0.3448, allocations: 60.7 MB / 0.8421 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02026/0.3651, allocations: 11.83 MB / 0.8537 GB, free: 5.113 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002963/0.3681, allocations: 55.62 kB / 0.8537 GB, free: 5.059 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.3705, allocations: 0.579 MB / 0.8543 GB, free: 4.477 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006162/0.3767, allocations: 1.8 MB / 0.8561 GB, free: 2.668 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.3799, allocations: 1.118 MB / 0.8572 GB, free: 1.559 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004764/0.3847, allocations: 3.098 MB / 0.8602 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.3863, allocations: 1.096 MB / 0.8612 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00329/0.3896, allocations: 1.348 MB / 0.8626 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.391, allocations: 0.9179 MB / 0.8635 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.3912, allocations: 123.9 kB / 0.8636 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.394, allocations: 1.466 MB / 0.865 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.3943, allocations: 294.9 kB / 0.8653 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000808/0.3951, allocations: 0.6958 MB / 0.866 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.3987, allocations: 2.318 MB / 0.8682 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3987, allocations: 0 / 0.8682 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3987, allocations: 4 kB / 0.8682 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.883e-05/0.3987, allocations: 0 / 0.8682 GB, free: 6.145 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.003053/0.4018, allocations: 1.734 MB / 0.8699 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.4018, allocations: 12.02 kB / 0.8699 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.4039, allocations: 406.8 kB / 0.8703 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.406, allocations: 1.132 MB / 0.8714 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000341/0.4063, allocations: 121.9 kB / 0.8716 GB, free: 2.629 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.4064, allocations: 84 kB / 0.8716 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.4084, allocations: 0.9722 MB / 0.8726 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.4084, allocations: 0 / 0.8726 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/0.4085, allocations: 32 kB / 0.8726 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.4086, allocations: 20 kB / 0.8726 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.4109, allocations: 0.882 MB / 0.8735 GB, free: 0.6055 MB / 0.6856 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.007769/0.4187, allocations: 4.563 MB / 0.8779 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/0.4221, allocations: 0.8396 MB / 0.8788 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007172/0.4228, allocations: 316.8 kB / 0.8791 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007005/0.4235, allocations: 0.9068 MB / 0.88 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.4236, allocations: 46.94 kB / 0.88 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/0.4236, allocations: 0 / 0.88 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.007288/0.4309, allocations: 1.799 MB / 0.8818 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.431, allocations: 59.84 kB / 0.8818 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.4326, allocations: 1.056 MB / 0.8828 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/0.4327, allocations: 37.7 kB / 0.8829 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/0.4331, allocations: 0.5236 MB / 0.8834 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.4333, allocations: 165.7 kB / 0.8836 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.4336, allocations: 134 kB / 0.8837 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4337, allocations: 329.9 kB / 0.884 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/0.4346, allocations: 322.9 kB / 0.8843 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.4357, allocations: 0.4962 MB / 0.8848 GB, free: 4.352 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.4373, allocations: 0.6942 MB / 0.8855 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.4373, allocations: 0 / 0.8855 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002989/0.4403, allocations: 1.007 MB / 0.8864 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.4404, allocations: 12.03 kB / 0.8865 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4404, allocations: 4 kB / 0.8865 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.4418, allocations: 320.5 kB / 0.8868 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.4424, allocations: 119.8 kB / 0.8869 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.444, allocations: 0.9262 MB / 0.8878 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.4454, allocations: 163.3 kB / 0.8879 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.263e-05/0.4455, allocations: 35.98 kB / 0.888 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001307/0.4469, allocations: 0.5194 MB / 0.8885 GB, free: 484 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001051/0.4479, allocations: 0.5001 MB / 0.889 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001553/0.4495, allocations: 0.6863 MB / 0.8896 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.729e-06/0.4495, allocations: 4 kB / 0.8896 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002656/0.4522, allocations: 0.999 MB / 0.8906 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4522, allocations: 19.86 kB / 0.8906 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4522, allocations: 7.938 kB / 0.8906 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.4533, allocations: 305 kB / 0.8909 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.4539, allocations: 127.8 kB / 0.8911 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.4554, allocations: 0.8996 MB / 0.8919 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.4568, allocations: 159.6 kB / 0.8921 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.4569, allocations: 27.98 kB / 0.8921 GB, free: 12.57 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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.0002821/0.4572, allocations: 220 kB / 0.8923 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.4574, allocations: 110.6 kB / 0.8924 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.4599, allocations: 0.9986 MB / 0.8934 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.46, allocations: 11.98 kB / 0.8934 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.46, allocations: 0 / 0.8934 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.46, allocations: 0 / 0.8934 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006008/0.466, allocations: 2.367 MB / 0.8957 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.466, allocations: 0 / 0.8957 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.4664, allocations: 71.88 kB / 0.8958 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009755/0.4673, allocations: 300.7 kB / 0.8961 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.4674, allocations: 15.98 kB / 0.8961 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.4688, allocations: 0.9444 MB / 0.897 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4689, allocations: 4.031 kB / 0.897 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/0.4724, allocations: 1.196 MB / 0.8982 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005245/0.473, allocations: 263.5 kB / 0.8984 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.4731, allocations: 12 kB / 0.8985 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008907/0.474, allocations: 99.8 kB / 0.8986 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.4741, allocations: 39.83 kB / 0.8986 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/0.4742, allocations: 27.97 kB / 0.8986 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001089/0.4753, allocations: 0.7391 MB / 0.8993 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4753, allocations: 0 / 0.8993 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001566/0.4769, allocations: 0.5692 MB / 0.8999 GB, free: 4.391 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.0009542/0.4778, allocations: 375.8 kB / 0.9003 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003407/0.4812, allocations: 1.171 MB / 0.9014 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4813, allocations: 0 / 0.9014 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009666/0.4822, allocations: 375.3 kB / 0.9018 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/0.4849, allocations: 0.5322 MB / 0.9023 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005423/0.4903, allocations: 2.445 MB / 0.9047 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/0.4909, allocations: 1.07 MB / 0.9057 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001084/0.492, allocations: 232.8 kB / 0.9059 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.4922, allocations: 83.36 kB / 0.906 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of SimCode: time 1.012e-06/0.4922, allocations: 0 / 0.906 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of Templates: time 0.4897/0.9819, allocations: 25.1 MB / 0.9305 GB, free: 130.6 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)