Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00607/0.00607, allocations: 100.8 kB / 15.87 MB, free: 6.305 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.001202/0.001202, allocations: 195.1 kB / 16.79 MB, free: 6.234 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.59 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.9919/0.9919, allocations: 143 MB / 433.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 59.91 kB / 0.5141 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2052, allocations: 82.04 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.3446/0.5498, allocations: 74.72 MB / 0.6672 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02142/0.5713, allocations: 15.22 MB / 0.6821 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003118/0.5745, allocations: 63.28 kB / 0.6821 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002767/0.5773, allocations: 0.6758 MB / 0.6828 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008236/0.5856, allocations: 2.38 MB / 0.6851 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004424/0.59, allocations: 1.271 MB / 0.6864 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01119/0.6012, allocations: 5.568 MB / 0.6918 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002994/0.6042, allocations: 1.195 MB / 0.693 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004322/0.6086, allocations: 1.367 MB / 0.6943 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.6115, allocations: 1.199 MB / 0.6955 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.6119, allocations: 73.44 kB / 0.6955 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004394/0.6163, allocations: 1.258 MB / 0.6968 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005778/0.6169, allocations: 320.9 kB / 0.6971 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.6185, allocations: 0.8073 MB / 0.6979 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00402/0.6226, allocations: 2.346 MB / 0.7002 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.6226, allocations: 0.6562 kB / 0.7002 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6226, allocations: 1.094 kB / 0.7002 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.758e-05/0.6227, allocations: 0 / 0.7002 GB, free: 9.195 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00527/0.6279, allocations: 2.085 MB / 0.7022 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.628, allocations: 10.31 kB / 0.7022 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.629, allocations: 229.8 kB / 0.7024 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002998/0.632, allocations: 1.499 MB / 0.7039 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.007e-05/0.6321, allocations: 80.22 kB / 0.704 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.6323, allocations: 101.3 kB / 0.7041 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.6345, allocations: 1.101 MB / 0.7051 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.6345, allocations: 1.062 kB / 0.7051 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.694e-05/0.6346, allocations: 40.97 kB / 0.7052 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/0.6347, allocations: 24.72 kB / 0.7052 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.6367, allocations: 0.8905 MB / 0.7061 GB, free: 5.91 MB / 0.5294 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.007121/0.6438, allocations: 4.914 MB / 0.7109 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.6455, allocations: 0.6124 MB / 0.7115 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/0.6462, allocations: 354.9 kB / 0.7118 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007181/0.6469, allocations: 0.8199 MB / 0.7126 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.647, allocations: 45.86 kB / 0.7127 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.146e-06/0.647, allocations: 0 / 0.7127 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007419/0.6544, allocations: 1.695 MB / 0.7143 GB, free: 15.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.6545, allocations: 61.64 kB / 0.7144 GB, free: 15.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.6565, allocations: 1.214 MB / 0.7156 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.6566, allocations: 38.42 kB / 0.7156 GB, free: 14.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005915/0.6572, allocations: 0.6048 MB / 0.7162 GB, free: 14.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.6575, allocations: 210.9 kB / 0.7164 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.6578, allocations: 155.7 kB / 0.7165 GB, free: 14.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6579, allocations: 333.7 kB / 0.7169 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000704/0.6586, allocations: 289.8 kB / 0.7171 GB, free: 13.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008901/0.6595, allocations: 0.4933 MB / 0.7176 GB, free: 13.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.6609, allocations: 0.7126 MB / 0.7183 GB, free: 12.69 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.6609, allocations: 7.25 kB / 0.7183 GB, free: 12.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004673/0.6656, allocations: 1.264 MB / 0.7195 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.6656, allocations: 6.375 kB / 0.7196 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.6657, allocations: 3.938 kB / 0.7196 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005873/0.6663, allocations: 142.7 kB / 0.7197 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.6669, allocations: 157.8 kB / 0.7198 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008503/0.6678, allocations: 0.7046 MB / 0.7205 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.6692, allocations: 153.5 kB / 0.7207 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.6694, allocations: 35.95 kB / 0.7207 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001236/0.6706, allocations: 0.555 MB / 0.7213 GB, free: 10.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008405/0.6715, allocations: 498.3 kB / 0.7217 GB, free: 10.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001377/0.6728, allocations: 0.7019 MB / 0.7224 GB, free: 9.855 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.229e-06/0.6729, allocations: 8 kB / 0.7224 GB, free: 9.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004811/0.6777, allocations: 1.261 MB / 0.7237 GB, free: 8.574 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.6777, allocations: 9.094 kB / 0.7237 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.6777, allocations: 4 kB / 0.7237 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005245/0.6783, allocations: 146 kB / 0.7238 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.679, allocations: 155.7 kB / 0.724 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008503/0.6798, allocations: 0.7015 MB / 0.7246 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.6814, allocations: 143.5 kB / 0.7248 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.6816, allocations: 28 kB / 0.7248 GB, free: 7.371 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003418/0.6819, allocations: 232 kB / 0.725 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004278/0.6823, allocations: 138.4 kB / 0.7252 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004703/0.687, allocations: 1.266 MB / 0.7264 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.969e-05/0.6871, allocations: 12 kB / 0.7264 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.6871, allocations: 0 / 0.7264 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004072/0.6912, allocations: 1.107 MB / 0.7275 GB, free: 4.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007687/0.6989, allocations: 2.614 MB / 0.73 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.699, allocations: 4 kB / 0.73 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.6995, allocations: 112.2 kB / 0.7301 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005049/0.7, allocations: 136.7 kB / 0.7303 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.7001, allocations: 16 kB / 0.7303 GB, free: 1.578 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004773/0.7049, allocations: 2.38 MB / 0.7326 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.7049, allocations: 4.859 kB / 0.7326 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005705/0.7106, allocations: 1.695 MB / 0.7343 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009538/0.7116, allocations: 311.1 kB / 0.7346 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.712, allocations: 16 kB / 0.7346 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.713, allocations: 87.81 kB / 0.7347 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.7132, allocations: 56.3 kB / 0.7347 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.991e-05/0.7132, allocations: 35.98 kB / 0.7348 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001398/0.7146, allocations: 0.8662 MB / 0.7356 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7147, allocations: 0 / 0.7356 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002435/0.7171, allocations: 0.7096 MB / 0.7363 GB, free: 11.19 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.7182, allocations: 462.1 kB / 0.7367 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002733/0.721, allocations: 1.11 MB / 0.7378 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.721, allocations: 8.188 kB / 0.7378 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.7225, allocations: 0.5525 MB / 0.7384 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/0.7266, allocations: 0.7638 MB / 0.7391 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.731, allocations: 2.802 MB / 0.7419 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/0.7318, allocations: 1.169 MB / 0.743 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/0.7321, allocations: 107.4 kB / 0.7431 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.7321, allocations: 0 / 0.7431 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of Templates: time 0.0423/0.7744, allocations: 31.25 MB / 0.7736 GB, free: 5.102 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)