Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.008112/0.008112, allocations: 101.5 kB / 15.88 MB, free: 6.312 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.001592/0.001592, allocations: 195.5 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8848/0.8848, allocations: 122.9 MB / 413.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.39 kB / 0.4904 GB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1754, allocations: 77.93 MB / 0.5665 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.3541/0.5296, allocations: 60.77 MB / 0.6259 GB, free: 3.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01938/0.549, allocations: 12.05 MB / 0.6376 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003709/0.5527, allocations: 56.91 kB / 0.6377 GB, free: 10.3 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.5549, allocations: 0.5435 MB / 0.6382 GB, free: 9.836 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006453/0.5614, allocations: 1.807 MB / 0.64 GB, free: 8.383 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.5648, allocations: 1.077 MB / 0.641 GB, free: 7.574 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0056/0.5704, allocations: 3.901 MB / 0.6448 GB, free: 5.395 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.5721, allocations: 0.9208 MB / 0.6457 GB, free: 4.805 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.5748, allocations: 1.159 MB / 0.6469 GB, free: 4.129 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.5762, allocations: 0.896 MB / 0.6477 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.5763, allocations: 57.19 kB / 0.6478 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.5792, allocations: 1.347 MB / 0.6491 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003234/0.5796, allocations: 238.9 kB / 0.6493 GB, free: 2.652 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.5807, allocations: 0.6291 MB / 0.65 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004095/0.5848, allocations: 2.239 MB / 0.6521 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5848, allocations: 0 / 0.6521 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.5848, allocations: 4 kB / 0.6521 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.504e-05/0.5848, allocations: 0 / 0.6521 GB, free: 0.7227 MB / 478.1 MB 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.003259/0.5881, allocations: 1.719 MB / 0.6538 GB, free: 14.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5882, allocations: 12.03 kB / 0.6538 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.5906, allocations: 402.8 kB / 0.6542 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.5928, allocations: 1.128 MB / 0.6553 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003698/0.5932, allocations: 125.9 kB / 0.6554 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.5933, allocations: 76 kB / 0.6555 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.5953, allocations: 0.9778 MB / 0.6565 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.5954, allocations: 4 kB / 0.6565 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.019e-05/0.5954, allocations: 32 kB / 0.6565 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.5955, allocations: 16 kB / 0.6565 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.5978, allocations: 0.8586 MB / 0.6574 GB, free: 11.22 MB / 494.1 MB 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.006903/0.6047, allocations: 4.84 MB / 0.6621 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003503/0.6082, allocations: 0.7959 MB / 0.6629 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/0.6089, allocations: 294.7 kB / 0.6631 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006964/0.6096, allocations: 0.9025 MB / 0.664 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.6097, allocations: 42.56 kB / 0.6641 GB, free: 3.773 MB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 2.835e-06/0.6097, allocations: 0 / 0.6641 GB, free: 3.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.007759/0.6175, allocations: 1.767 MB / 0.6658 GB, free: 1.977 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.6175, allocations: 55.41 kB / 0.6658 GB, free: 1.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.6192, allocations: 1.051 MB / 0.6669 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-05/0.6193, allocations: 33.7 kB / 0.6669 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/0.6198, allocations: 0.5235 MB / 0.6674 GB, free: 284 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.6199, allocations: 153.8 kB / 0.6676 GB, free: 128 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.6201, allocations: 130.1 kB / 0.6677 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6203, allocations: 329.9 kB / 0.668 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009798/0.6212, allocations: 306.9 kB / 0.6683 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.6223, allocations: 0.4984 MB / 0.6688 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.6239, allocations: 0.6889 MB / 0.6694 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.624, allocations: 4 kB / 0.6695 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003852/0.6278, allocations: 1.131 MB / 0.6706 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.6278, allocations: 12.06 kB / 0.6706 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.6279, allocations: 4 kB / 0.6706 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.6291, allocations: 308.6 kB / 0.6709 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.6297, allocations: 119.9 kB / 0.671 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.6312, allocations: 0.9083 MB / 0.6719 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.6326, allocations: 179.2 kB / 0.672 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/0.6327, allocations: 27.98 kB / 0.6721 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001204/0.6339, allocations: 0.5087 MB / 0.6726 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001009/0.6349, allocations: 0.4981 MB / 0.673 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001634/0.6366, allocations: 0.6599 MB / 0.6737 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.494e-06/0.6366, allocations: 0 / 0.6737 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00349/0.6401, allocations: 1.118 MB / 0.6748 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.6401, allocations: 15.88 kB / 0.6748 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.6401, allocations: 4 kB / 0.6748 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.6413, allocations: 310.9 kB / 0.6751 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.6418, allocations: 111.8 kB / 0.6752 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.6432, allocations: 0.9037 MB / 0.6761 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.6446, allocations: 155.5 kB / 0.6762 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.6447, allocations: 31.92 kB / 0.6763 GB, free: 6.824 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0002346/0.6449, allocations: 227.4 kB / 0.6765 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.6451, allocations: 110.6 kB / 0.6766 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.6476, allocations: 0.9299 MB / 0.6775 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.6476, allocations: 15.98 kB / 0.6775 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.6476, allocations: 0 / 0.6775 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.6476, allocations: 3.938 kB / 0.6775 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00514/0.6528, allocations: 2.152 MB / 0.6796 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.6528, allocations: 7.984 kB / 0.6796 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.6531, allocations: 63.89 kB / 0.6797 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.6541, allocations: 304.6 kB / 0.68 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.6542, allocations: 15.98 kB / 0.68 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.6559, allocations: 0.9413 MB / 0.6809 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.6559, allocations: 7.938 kB / 0.6809 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003589/0.6595, allocations: 1.163 MB / 0.6821 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005509/0.66, allocations: 267.5 kB / 0.6823 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.6602, allocations: 8 kB / 0.6823 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/0.6611, allocations: 95.89 kB / 0.6824 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.6612, allocations: 31.95 kB / 0.6824 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.6613, allocations: 27.92 kB / 0.6825 GB, free: 284 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001175/0.6624, allocations: 0.7391 MB / 0.6832 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.6625, allocations: 3.938 kB / 0.6832 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001709/0.6642, allocations: 0.5614 MB / 0.6837 GB, free: 14.96 MB / 0.5137 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 (33): * Single equations (assignments): 28 * 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.0007909/0.665, allocations: 375.2 kB / 0.6841 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003137/0.6681, allocations: 1.09 MB / 0.6852 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6681, allocations: 0 / 0.6852 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000867/0.669, allocations: 347.1 kB / 0.6855 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.6716, allocations: 0.494 MB / 0.686 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005482/0.6771, allocations: 2.447 MB / 0.6884 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.6777, allocations: 1.065 MB / 0.6894 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008775/0.6786, allocations: 212.7 kB / 0.6896 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.6788, allocations: 75.42 kB / 0.6897 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.6788, allocations: 0 / 0.6897 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of Templates: time 0.04036/0.7192, allocations: 23.68 MB / 0.7128 GB, free: 1.402 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)