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.00151/0.00151, allocations: 113.1 kB / 15.99 MB, free: 6.348 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.00162/0.00162, allocations: 192.1 kB / 16.91 MB, free: 6.188 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.181/1.181, allocations: 143.1 MB / 433.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 71.89 kB / 0.5143 GB, free: 15.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3622, allocations: 82.03 MB / 0.5944 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05481/0.4171, allocations: 60.65 MB / 0.6537 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.4345, allocations: 11.92 MB / 0.6653 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.4369, allocations: 55.62 kB / 0.6654 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.4393, allocations: 0.5828 MB / 0.6659 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006175/0.4455, allocations: 1.828 MB / 0.6677 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.4491, allocations: 1.09 MB / 0.6688 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004828/0.4539, allocations: 3.106 MB / 0.6718 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.4561, allocations: 1.106 MB / 0.6729 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003742/0.4598, allocations: 1.339 MB / 0.6742 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.4617, allocations: 0.9256 MB / 0.6751 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004104/0.4621, allocations: 116 kB / 0.6752 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003211/0.4654, allocations: 1.45 MB / 0.6766 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004876/0.4659, allocations: 290.9 kB / 0.6769 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.4673, allocations: 0.7036 MB / 0.6776 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.4704, allocations: 1.851 MB / 0.6794 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4704, allocations: 0 / 0.6794 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4704, allocations: 0 / 0.6794 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.672e-05/0.4705, allocations: 0 / 0.6794 GB, free: 9.199 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.004142/0.4746, allocations: 1.715 MB / 0.6811 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.4747, allocations: 8.031 kB / 0.6811 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.477, allocations: 410.8 kB / 0.6815 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/0.4795, allocations: 1.132 MB / 0.6826 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003664/0.4799, allocations: 125.9 kB / 0.6827 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.4801, allocations: 76 kB / 0.6828 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.4824, allocations: 0.9817 MB / 0.6837 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.4824, allocations: 4 kB / 0.6837 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-05/0.4825, allocations: 32 kB / 0.6838 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.4825, allocations: 19.94 kB / 0.6838 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.4848, allocations: 0.8626 MB / 0.6846 GB, free: 3.684 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.007423/0.4923, allocations: 4.867 MB / 0.6894 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003549/0.4959, allocations: 0.7964 MB / 0.6902 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007435/0.4966, allocations: 296.7 kB / 0.6904 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007506/0.4974, allocations: 0.9025 MB / 0.6913 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.4975, allocations: 50.42 kB / 0.6914 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 3.226e-06/0.4975, allocations: 0 / 0.6914 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.008818/0.5063, allocations: 1.908 MB / 0.6932 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.5064, allocations: 59.34 kB / 0.6933 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.5084, allocations: 1.04 MB / 0.6943 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.5086, allocations: 41.7 kB / 0.6943 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/0.5091, allocations: 0.5273 MB / 0.6949 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.5093, allocations: 157.8 kB / 0.695 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.5096, allocations: 122.1 kB / 0.6951 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.5097, allocations: 326 kB / 0.6954 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009043/0.5106, allocations: 306.9 kB / 0.6957 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.5117, allocations: 0.5025 MB / 0.6962 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.5134, allocations: 0.6812 MB / 0.6969 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.5134, allocations: 4 kB / 0.6969 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002881/0.5163, allocations: 0.9849 MB / 0.6979 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.5164, allocations: 10.5 kB / 0.6979 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.5164, allocations: 4 kB / 0.6979 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.5177, allocations: 321 kB / 0.6982 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.5183, allocations: 119.9 kB / 0.6983 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.5198, allocations: 0.9227 MB / 0.6992 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.5212, allocations: 167.3 kB / 0.6993 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.802e-05/0.5213, allocations: 31.98 kB / 0.6994 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00123/0.5226, allocations: 0.5049 MB / 0.6999 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001025/0.5236, allocations: 0.5022 MB / 0.7004 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001592/0.5252, allocations: 0.6795 MB / 0.701 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.677e-06/0.5252, allocations: 0 / 0.701 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002782/0.528, allocations: 0.9848 MB / 0.702 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.528, allocations: 11.94 kB / 0.702 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5281, allocations: 4 kB / 0.702 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.5292, allocations: 304.7 kB / 0.7023 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.5298, allocations: 123.8 kB / 0.7024 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.5312, allocations: 0.9035 MB / 0.7033 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.5327, allocations: 163.6 kB / 0.7034 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-05/0.5327, allocations: 27.98 kB / 0.7035 GB, free: 15.35 MB / 0.545 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.0002623/0.533, allocations: 216.1 kB / 0.7037 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/0.5334, allocations: 106.7 kB / 0.7038 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/0.5372, allocations: 1.105 MB / 0.7049 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.5372, allocations: 8 kB / 0.7049 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5373, allocations: 3.938 kB / 0.7049 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.5373, allocations: 3.984 kB / 0.7049 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005518/0.5428, allocations: 2.163 MB / 0.707 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.5428, allocations: 0 / 0.707 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.5431, allocations: 59.89 kB / 0.707 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.5442, allocations: 308.9 kB / 0.7073 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.5442, allocations: 15.98 kB / 0.7074 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.5457, allocations: 0.9424 MB / 0.7083 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5457, allocations: 0 / 0.7083 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.5493, allocations: 1.171 MB / 0.7094 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/0.5499, allocations: 263.5 kB / 0.7097 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.5502, allocations: 8 kB / 0.7097 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5512, allocations: 99.73 kB / 0.7098 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.5513, allocations: 43.83 kB / 0.7098 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.5e-05/0.5514, allocations: 23.98 kB / 0.7098 GB, free: 8.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001298/0.5527, allocations: 0.7311 MB / 0.7106 GB, free: 7.895 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5527, allocations: 4 kB / 0.7106 GB, free: 7.891 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00183/0.5545, allocations: 0.5613 MB / 0.7111 GB, free: 7.328 MB / 0.545 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.0009482/0.5555, allocations: 386 kB / 0.7115 GB, free: 6.957 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003368/0.5589, allocations: 1.116 MB / 0.7126 GB, free: 5.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.5589, allocations: 8.125 kB / 0.7126 GB, free: 5.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009353/0.5598, allocations: 348.3 kB / 0.7129 GB, free: 5.496 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/0.5626, allocations: 0.5105 MB / 0.7134 GB, free: 5.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006034/0.5686, allocations: 2.45 MB / 0.7158 GB, free: 2.504 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.5693, allocations: 1.053 MB / 0.7168 GB, free: 1.418 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.5697, allocations: 79.42 kB / 0.7169 GB, free: 1.34 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/0.5697, allocations: 4 kB / 0.7169 GB, free: 1.336 MB / 0.545 GB Notification: Performance of Templates: time 0.03457/0.6043, allocations: 24.02 MB / 0.7404 GB, free: 9.492 MB / 0.5762 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)