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.0008284/0.0008284, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008735/0.0008735, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.135/1.135, allocations: 223.3 MB / 240 MB, free: 5.312 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 0.8283/0.8283, allocations: 143.2 MB / 434.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002546/0.0002546, allocations: 8 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1208, allocations: 83.42 MB / 0.5972 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.2421/0.3629, allocations: 56.45 MB / 0.6524 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009892/0.3728, allocations: 11.24 MB / 0.6633 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008718/0.3737, allocations: 53.66 kB / 0.6634 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000934/0.3747, allocations: 465.6 kB / 0.6638 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.3773, allocations: 1.532 MB / 0.6653 GB, free: 15.72 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.3792, allocations: 0.8494 MB / 0.6662 GB, free: 15.33 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.003306/0.3825, allocations: 3.395 MB / 0.6695 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.3835, allocations: 0.7869 MB / 0.6702 GB, free: 13.55 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.3852, allocations: 1.039 MB / 0.6713 GB, free: 13.11 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009647/0.3862, allocations: 0.8067 MB / 0.672 GB, free: 12.78 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 9.964e-05/0.3863, allocations: 40.72 kB / 0.6721 GB, free: 12.78 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.3883, allocations: 1.097 MB / 0.6732 GB, free: 12.44 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.3885, allocations: 194.2 kB / 0.6733 GB, free: 12.34 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.3887, allocations: 282.5 kB / 0.6736 GB, free: 12.18 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.3905, allocations: 1.725 MB / 0.6753 GB, free: 11.77 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3905, allocations: 4.547 kB / 0.6753 GB, free: 11.76 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3905, allocations: 0 / 0.6753 GB, free: 11.76 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.3905, allocations: 0 / 0.6753 GB, free: 11.76 MB / 0.5138 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.002266/0.3928, allocations: 1.508 MB / 0.6768 GB, free: 10.73 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.3928, allocations: 9.531 kB / 0.6768 GB, free: 10.73 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.3946, allocations: 470 kB / 0.6772 GB, free: 10.64 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.3964, allocations: 1.083 MB / 0.6783 GB, free: 9.973 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/0.3967, allocations: 127.8 kB / 0.6784 GB, free: 9.941 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.3968, allocations: 87.42 kB / 0.6785 GB, free: 9.91 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.3986, allocations: 0.9983 MB / 0.6795 GB, free: 9.453 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.3986, allocations: 1.156 kB / 0.6795 GB, free: 9.453 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.3987, allocations: 33.03 kB / 0.6795 GB, free: 9.43 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.3987, allocations: 22.84 kB / 0.6795 GB, free: 9.426 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.4008, allocations: 0.9099 MB / 0.6804 GB, free: 9.141 MB / 0.5138 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.005497/0.4063, allocations: 4.899 MB / 0.6852 GB, free: 5.473 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002851/0.4091, allocations: 0.8986 MB / 0.6861 GB, free: 5.234 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/0.4098, allocations: 323.7 kB / 0.6864 GB, free: 5.133 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005538/0.4103, allocations: 0.9002 MB / 0.6873 GB, free: 4.09 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.4104, allocations: 37.88 kB / 0.6873 GB, free: 4.047 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=43): time 1.713e-06/0.4104, allocations: 0 / 0.6873 GB, free: 4.047 MB / 0.5138 GB Notification: Performance of matching and sorting (n=43): time 0.007117/0.4175, allocations: 2.146 MB / 0.6894 GB, free: 3.527 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.4176, allocations: 57.17 kB / 0.6895 GB, free: 3.465 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.4189, allocations: 1.046 MB / 0.6905 GB, free: 3.031 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.419, allocations: 39.89 kB / 0.6905 GB, free: 2.992 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003888/0.4193, allocations: 0.5213 MB / 0.691 GB, free: 2.578 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.4195, allocations: 149.2 kB / 0.6912 GB, free: 2.461 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.4195, allocations: 10 kB / 0.6912 GB, free: 2.453 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.4196, allocations: 338.3 kB / 0.6915 GB, free: 2.129 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007669/0.4204, allocations: 316.1 kB / 0.6918 GB, free: 2.047 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009235/0.4213, allocations: 0.5376 MB / 0.6923 GB, free: 1.695 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/0.4221, allocations: 351.5 kB / 0.6927 GB, free: 1.582 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4221, allocations: 1.438 kB / 0.6927 GB, free: 1.582 MB / 0.5138 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003012/0.4252, allocations: 1.217 MB / 0.6938 GB, free: 1.191 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.4253, allocations: 217.6 kB / 0.6941 GB, free: 0.9297 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4253, allocations: 4.25 kB / 0.6941 GB, free: 0.9297 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.4263, allocations: 335 kB / 0.6944 GB, free: 0.8477 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.4268, allocations: 126.9 kB / 0.6945 GB, free: 0.8359 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.428, allocations: 0.944 MB / 0.6954 GB, free: 172 kB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.4291, allocations: 200.1 kB / 0.6956 GB, free: 112 kB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/0.4291, allocations: 27.86 kB / 0.6956 GB, free: 108 kB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/0.4292, allocations: 4.031 kB / 0.6956 GB, free: 108 kB / 0.5138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002747/0.4319, allocations: 1.078 MB / 0.6967 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4319, allocations: 8.281 kB / 0.6967 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008951/0.4328, allocations: 326.9 kB / 0.697 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.4333, allocations: 129.2 kB / 0.6971 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.4345, allocations: 0.9369 MB / 0.6981 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008491/0.4354, allocations: 170.3 kB / 0.6982 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.4354, allocations: 28.38 kB / 0.6982 GB, free: 14.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004026/0.4358, allocations: 351.2 kB / 0.6986 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.436, allocations: 107.3 kB / 0.6987 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.4392, allocations: 1.208 MB / 0.6999 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.4392, allocations: 9.297 kB / 0.6999 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4392, allocations: 0 / 0.6999 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4392, allocations: 1.125 kB / 0.6999 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004237/0.4435, allocations: 2.258 MB / 0.7021 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4435, allocations: 3.375 kB / 0.7021 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.4437, allocations: 69.73 kB / 0.7021 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008438/0.4446, allocations: 334.3 kB / 0.7025 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.4446, allocations: 14.09 kB / 0.7025 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.4459, allocations: 0.9618 MB / 0.7034 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4459, allocations: 2.812 kB / 0.7034 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002955/0.4488, allocations: 1.258 MB / 0.7046 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.4492, allocations: 285.6 kB / 0.7049 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.4493, allocations: 16.27 kB / 0.7049 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007457/0.4501, allocations: 111.2 kB / 0.705 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.4502, allocations: 36.19 kB / 0.7051 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.4502, allocations: 27.23 kB / 0.7051 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00097/0.4512, allocations: 0.7319 MB / 0.7058 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4512, allocations: 1.125 kB / 0.7058 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001296/0.4525, allocations: 0.5575 MB / 0.7064 GB, free: 9.906 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005582/0.4531, allocations: 369.3 kB / 0.7067 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002478/0.4555, allocations: 1.158 MB / 0.7078 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4556, allocations: 0 / 0.7078 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007477/0.4563, allocations: 379.1 kB / 0.7082 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.4582, allocations: 0.4956 MB / 0.7087 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.4625, allocations: 2.476 MB / 0.7111 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.4631, allocations: 1.061 MB / 0.7121 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007289/0.4638, allocations: 230.2 kB / 0.7124 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.464, allocations: 75.42 kB / 0.7124 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.464, allocations: 0 / 0.7124 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of Templates: time 0.03012/0.4941, allocations: 23.25 MB / 0.7351 GB, free: 14.41 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)