Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007555/0.0007555, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007083/0.0007083, allocations: 168.7 kB / 15.95 MB, free: 204 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.122/1.122, allocations: 223.3 MB / 240 MB, free: 5.398 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.845/0.845, allocations: 143.2 MB / 434.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002662/0.0002662, allocations: 12 kB / 0.5158 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 83.41 MB / 0.5972 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.2547/0.3742, allocations: 69.44 MB / 0.6651 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.3903, allocations: 14.2 MB / 0.6789 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.3916, allocations: 57.72 kB / 0.679 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.393, allocations: 0.5634 MB / 0.6795 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004099/0.3971, allocations: 1.984 MB / 0.6815 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.3994, allocations: 0.9721 MB / 0.6824 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00491/0.4043, allocations: 4.809 MB / 0.6871 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.4057, allocations: 1.019 MB / 0.6881 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.4078, allocations: 1.282 MB / 0.6894 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.4091, allocations: 1.081 MB / 0.6904 GB, free: 188 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.4093, allocations: 54.47 kB / 0.6905 GB, free: 188 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.4115, allocations: 0.9362 MB / 0.6914 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.4118, allocations: 275.9 kB / 0.6916 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.4121, allocations: 360.4 kB / 0.692 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.4144, allocations: 2.226 MB / 0.6942 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4144, allocations: 0 / 0.6942 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4144, allocations: 0 / 0.6942 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.4144, allocations: 5.812 kB / 0.6942 GB, free: 15.02 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.002861/0.4173, allocations: 1.804 MB / 0.6959 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.4173, allocations: 8.438 kB / 0.6959 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006378/0.418, allocations: 240.9 kB / 0.6962 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.4201, allocations: 1.456 MB / 0.6976 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/0.4201, allocations: 72.31 kB / 0.6977 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.4203, allocations: 105 kB / 0.6978 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.4221, allocations: 1.116 MB / 0.6989 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.4221, allocations: 1.781 kB / 0.6989 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.049e-05/0.4222, allocations: 41.03 kB / 0.6989 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.4223, allocations: 28.84 kB / 0.6989 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.4239, allocations: 0.928 MB / 0.6998 GB, free: 11.97 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.004971/0.4289, allocations: 4.924 MB / 0.7046 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.4301, allocations: 0.6414 MB / 0.7053 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006364/0.4308, allocations: 368 kB / 0.7056 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005491/0.4313, allocations: 0.8323 MB / 0.7064 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.4314, allocations: 43.06 kB / 0.7065 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 1.703e-06/0.4314, allocations: 3.938 kB / 0.7065 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.003944/0.4353, allocations: 1.521 MB / 0.708 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.4354, allocations: 57.84 kB / 0.708 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.4368, allocations: 1.199 MB / 0.7092 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.4368, allocations: 43.3 kB / 0.7092 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/0.4373, allocations: 0.6037 MB / 0.7098 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.4375, allocations: 215.8 kB / 0.71 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.4375, allocations: 15.44 kB / 0.71 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.4376, allocations: 340.2 kB / 0.7104 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005939/0.4382, allocations: 295.7 kB / 0.7106 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007443/0.439, allocations: 0.5023 MB / 0.7111 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/0.4396, allocations: 352.1 kB / 0.7115 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4397, allocations: 1.156 kB / 0.7115 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003771/0.4434, allocations: 1.395 MB / 0.7128 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.793e-05/0.4435, allocations: 196.3 kB / 0.713 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4435, allocations: 3.031 kB / 0.713 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/0.4441, allocations: 158.1 kB / 0.7132 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/0.4447, allocations: 167.7 kB / 0.7133 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007101/0.4454, allocations: 0.7249 MB / 0.714 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009026/0.4463, allocations: 170.9 kB / 0.7142 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.4464, allocations: 31.3 kB / 0.7142 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.4464, allocations: 4.438 kB / 0.7142 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00359/0.45, allocations: 1.243 MB / 0.7154 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.45, allocations: 7.344 kB / 0.7155 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004504/0.4504, allocations: 164 kB / 0.7156 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.4509, allocations: 169.4 kB / 0.7158 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006571/0.4516, allocations: 0.7207 MB / 0.7165 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/0.4524, allocations: 161.8 kB / 0.7166 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.4524, allocations: 31.31 kB / 0.7167 GB, free: 112 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004761/0.4529, allocations: 422.5 kB / 0.7171 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.4531, allocations: 135.4 kB / 0.7172 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003718/0.4568, allocations: 1.394 MB / 0.7186 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.4568, allocations: 11.31 kB / 0.7186 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4569, allocations: 3.953 kB / 0.7186 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003328/0.4602, allocations: 1.217 MB / 0.7198 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.4634, allocations: 2.357 MB / 0.7221 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.4634, allocations: 7.953 kB / 0.7221 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.4639, allocations: 120.3 kB / 0.7222 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.4643, allocations: 149.3 kB / 0.7223 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.4644, allocations: 19.98 kB / 0.7223 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000652/0.465, allocations: 0.7233 MB / 0.723 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.4651, allocations: 4 kB / 0.7231 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.4673, allocations: 1.454 MB / 0.7245 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000396/0.4677, allocations: 343.1 kB / 0.7248 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.4679, allocations: 16 kB / 0.7248 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007152/0.4686, allocations: 91.81 kB / 0.7249 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.4687, allocations: 60.27 kB / 0.725 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.4687, allocations: 27.98 kB / 0.725 GB, free: 8.703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009854/0.4697, allocations: 0.8623 MB / 0.7258 GB, free: 7.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4697, allocations: 0 / 0.7258 GB, free: 7.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001497/0.4712, allocations: 0.7018 MB / 0.7265 GB, free: 7.137 MB / 0.545 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 (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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006675/0.4719, allocations: 434.7 kB / 0.7269 GB, free: 6.719 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002094/0.474, allocations: 1.166 MB / 0.7281 GB, free: 5.559 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.474, allocations: 4 kB / 0.7281 GB, free: 5.555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007714/0.4748, allocations: 415.8 kB / 0.7285 GB, free: 5.152 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.4776, allocations: 0.7668 MB / 0.7292 GB, free: 4.402 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.4808, allocations: 2.773 MB / 0.7319 GB, free: 1.551 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/0.4814, allocations: 1.176 MB / 0.7331 GB, free: 356 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009297/0.4824, allocations: 316 kB / 0.7334 GB, free: 44 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.4826, allocations: 103.4 kB / 0.7335 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4826, allocations: 0 / 0.7335 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.03776/0.5203, allocations: 29.57 MB / 0.7623 GB, free: 2.762 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)