Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00563/0.00563, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001272/0.001272, allocations: 195.3 kB / 16.79 MB, free: 6.254 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.465 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.004/1.004, allocations: 143 MB / 433.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 59.91 kB / 0.5141 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1643, allocations: 82.03 MB / 0.5943 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3454/0.5097, allocations: 60.8 MB / 0.6536 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01591/0.5256, allocations: 12.07 MB / 0.6654 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/0.5285, allocations: 56.22 kB / 0.6655 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.5311, allocations: 0.5483 MB / 0.666 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006321/0.5375, allocations: 1.804 MB / 0.6678 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003571/0.5411, allocations: 1.077 MB / 0.6688 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006185/0.5473, allocations: 3.902 MB / 0.6726 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/0.5494, allocations: 0.9288 MB / 0.6735 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.5529, allocations: 1.16 MB / 0.6747 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/0.5552, allocations: 0.8907 MB / 0.6755 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004852/0.5557, allocations: 56.41 kB / 0.6756 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004169/0.5599, allocations: 1.336 MB / 0.6769 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007195/0.5607, allocations: 239.8 kB / 0.6771 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001683/0.5624, allocations: 0.6337 MB / 0.6777 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003506/0.5659, allocations: 1.817 MB / 0.6795 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.5659, allocations: 0 / 0.6795 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.566, allocations: 5.719 kB / 0.6795 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.301e-05/0.566, allocations: 0 / 0.6795 GB, free: 7.246 MB / 0.5137 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.004296/0.5703, allocations: 1.72 MB / 0.6812 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5704, allocations: 10.12 kB / 0.6812 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.5729, allocations: 408.1 kB / 0.6816 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/0.5756, allocations: 1.137 MB / 0.6827 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003905/0.5761, allocations: 119.5 kB / 0.6828 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.5762, allocations: 79.06 kB / 0.6829 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.5786, allocations: 0.9802 MB / 0.6839 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.5786, allocations: 1.156 kB / 0.6839 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.505e-05/0.5787, allocations: 31.62 kB / 0.6839 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.5787, allocations: 19.06 kB / 0.6839 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.5813, allocations: 0.8648 MB / 0.6847 GB, free: 4.445 MB / 0.5137 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.008154/0.5894, allocations: 4.849 MB / 0.6895 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003659/0.5931, allocations: 0.7944 MB / 0.6903 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008509/0.594, allocations: 303.1 kB / 0.6905 GB, free: 472 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008455/0.5949, allocations: 0.9075 MB / 0.6914 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.5949, allocations: 41.86 kB / 0.6915 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 3.316e-06/0.5949, allocations: 0 / 0.6915 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.009564/0.6045, allocations: 1.912 MB / 0.6933 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.6046, allocations: 56.56 kB / 0.6934 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.6073, allocations: 1.047 MB / 0.6944 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.6074, allocations: 37.77 kB / 0.6945 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005514/0.608, allocations: 0.5223 MB / 0.695 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.6082, allocations: 153.2 kB / 0.6951 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.6085, allocations: 123.8 kB / 0.6952 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6087, allocations: 329.5 kB / 0.6955 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000977/0.6097, allocations: 305.8 kB / 0.6958 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.6109, allocations: 0.5118 MB / 0.6963 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.6128, allocations: 0.68 MB / 0.697 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.6129, allocations: 1.531 kB / 0.697 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003301/0.6162, allocations: 0.9923 MB / 0.698 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.6162, allocations: 7.625 kB / 0.698 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.6162, allocations: 4.625 kB / 0.698 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.6177, allocations: 320 kB / 0.6983 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.6183, allocations: 121.6 kB / 0.6984 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.6199, allocations: 0.912 MB / 0.6993 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.6216, allocations: 173.3 kB / 0.6995 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.6217, allocations: 32.3 kB / 0.6995 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001367/0.6231, allocations: 0.5002 MB / 0.7 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001123/0.6242, allocations: 0.5052 MB / 0.7005 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001726/0.6259, allocations: 0.675 MB / 0.7011 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.602e-06/0.626, allocations: 2.984 kB / 0.7011 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002985/0.6289, allocations: 0.977 MB / 0.7021 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.629, allocations: 18.41 kB / 0.7021 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.629, allocations: 4.281 kB / 0.7021 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.6302, allocations: 307.3 kB / 0.7024 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.6308, allocations: 114.3 kB / 0.7025 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.6324, allocations: 0.9117 MB / 0.7034 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.634, allocations: 155.8 kB / 0.7035 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.584e-05/0.6341, allocations: 25.56 kB / 0.7036 GB, free: 9.281 MB / 0.5294 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.000286/0.6344, allocations: 231.9 kB / 0.7038 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/0.6348, allocations: 106.9 kB / 0.7039 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.6387, allocations: 1.095 MB / 0.705 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.6388, allocations: 10.25 kB / 0.705 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.6388, allocations: 3.938 kB / 0.705 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.6388, allocations: 3.984 kB / 0.705 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005917/0.6447, allocations: 2.169 MB / 0.7071 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.6447, allocations: 2.812 kB / 0.7071 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.645, allocations: 56.95 kB / 0.7072 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.6461, allocations: 310.6 kB / 0.7075 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/0.6462, allocations: 19.2 kB / 0.7075 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/0.6478, allocations: 0.9437 MB / 0.7084 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.6478, allocations: 6.25 kB / 0.7084 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/0.6515, allocations: 1.169 MB / 0.7095 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007205/0.6523, allocations: 263.4 kB / 0.7098 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000352/0.6526, allocations: 8.438 kB / 0.7098 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.6538, allocations: 101.1 kB / 0.7099 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.6539, allocations: 36.39 kB / 0.7099 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-05/0.654, allocations: 21.27 kB / 0.71 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001393/0.6554, allocations: 0.7375 MB / 0.7107 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6554, allocations: 0 / 0.7107 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002296/0.6577, allocations: 0.5597 MB / 0.7112 GB, free: 4.434 MB / 0.5294 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.001177/0.6589, allocations: 382.4 kB / 0.7116 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003518/0.6624, allocations: 1.097 MB / 0.7127 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6624, allocations: 4 kB / 0.7127 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009249/0.6633, allocations: 348.4 kB / 0.713 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.6663, allocations: 0.4947 MB / 0.7135 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005969/0.6723, allocations: 2.459 MB / 0.7159 GB, free: 244 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/0.6731, allocations: 1.058 MB / 0.7169 GB, free: 15.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.6734, allocations: 83.41 kB / 0.717 GB, free: 15.07 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.6734, allocations: 0 / 0.717 GB, free: 15.07 MB / 0.545 GB Notification: Performance of Templates: time 0.03339/0.7068, allocations: 24.08 MB / 0.7405 GB, free: 7.164 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)