Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 99.11 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.332 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.022/1.022, allocations: 143.2 MB / 435.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003408, allocations: 8 kB / 0.517 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 83.4 MB / 0.5985 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3474/0.5086, allocations: 59.72 MB / 0.6568 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.5237, allocations: 11.93 MB / 0.6685 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0026/0.5264, allocations: 56.75 kB / 0.6685 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00208/0.5285, allocations: 0.5433 MB / 0.6691 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005966/0.5345, allocations: 1.81 MB / 0.6708 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.5376, allocations: 1.077 MB / 0.6719 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006264/0.5439, allocations: 3.906 MB / 0.6757 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/0.5458, allocations: 0.8969 MB / 0.6766 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.549, allocations: 1.118 MB / 0.6777 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.5508, allocations: 0.8591 MB / 0.6785 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.551, allocations: 41.88 kB / 0.6785 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.5545, allocations: 1.345 MB / 0.6798 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.5548, allocations: 212.7 kB / 0.6801 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009989/0.5558, allocations: 0.6357 MB / 0.6807 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002957/0.5588, allocations: 1.791 MB / 0.6824 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5588, allocations: 0 / 0.6824 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.755e-06/0.5588, allocations: 0 / 0.6824 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.947e-05/0.5588, allocations: 1.219 kB / 0.6824 GB, free: 6.836 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.003144/0.562, allocations: 1.485 MB / 0.6839 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.562, allocations: 13.03 kB / 0.6839 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/0.5644, allocations: 470.5 kB / 0.6843 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.5669, allocations: 1.141 MB / 0.6854 GB, free: 5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003885/0.5673, allocations: 132.8 kB / 0.6856 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.5675, allocations: 83 kB / 0.6857 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.57, allocations: 1.006 MB / 0.6866 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.57, allocations: 1.609 kB / 0.6866 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/0.5701, allocations: 31.06 kB / 0.6867 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.5701, allocations: 19.47 kB / 0.6867 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002701/0.5728, allocations: 0.9213 MB / 0.6876 GB, free: 4.168 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.008651/0.5815, allocations: 4.908 MB / 0.6924 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003806/0.5853, allocations: 0.9044 MB / 0.6933 GB, free: 260 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008429/0.5862, allocations: 328.8 kB / 0.6936 GB, free: 156 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000778/0.587, allocations: 0.9012 MB / 0.6945 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.587, allocations: 41.12 kB / 0.6945 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=44): time 2.996e-06/0.587, allocations: 0 / 0.6945 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44): time 0.00994/0.597, allocations: 2.177 MB / 0.6966 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.5971, allocations: 61.23 kB / 0.6967 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.5993, allocations: 1.053 MB / 0.6977 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.5994, allocations: 37.36 kB / 0.6977 GB, free: 14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/0.6, allocations: 0.5216 MB / 0.6983 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.6002, allocations: 154.6 kB / 0.6984 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.6003, allocations: 47.59 kB / 0.6984 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6004, allocations: 325.8 kB / 0.6988 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.6014, allocations: 323.4 kB / 0.6991 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.6026, allocations: 0.5369 MB / 0.6996 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.6044, allocations: 0.7253 MB / 0.7003 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.6045, allocations: 0.9688 kB / 0.7003 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003173/0.6076, allocations: 1.05 MB / 0.7013 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.6078, allocations: 210.3 kB / 0.7015 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.6078, allocations: 5.25 kB / 0.7015 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.6093, allocations: 337.6 kB / 0.7019 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.6099, allocations: 131 kB / 0.702 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.6115, allocations: 0.9414 MB / 0.7029 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.6131, allocations: 194 kB / 0.7031 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.925e-05/0.6132, allocations: 31.3 kB / 0.7031 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.6132, allocations: 5.969 kB / 0.7031 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002597/0.6158, allocations: 0.9167 MB / 0.704 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.6159, allocations: 4.406 kB / 0.704 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.6171, allocations: 332.8 kB / 0.7043 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/0.6177, allocations: 135.5 kB / 0.7045 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.6192, allocations: 0.9322 MB / 0.7054 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.6207, allocations: 175.7 kB / 0.7055 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.6209, allocations: 35.55 kB / 0.7056 GB, free: 9.777 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0007191/0.6216, allocations: 348.9 kB / 0.7059 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.6218, allocations: 116.3 kB / 0.706 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/0.6262, allocations: 1.209 MB / 0.7072 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/0.6262, allocations: 14.08 kB / 0.7072 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.6262, allocations: 0 / 0.7072 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.6263, allocations: 0 / 0.7072 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006143/0.6324, allocations: 2.29 MB / 0.7094 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.6324, allocations: 2.25 kB / 0.7095 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.6328, allocations: 71.27 kB / 0.7095 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.634, allocations: 335.7 kB / 0.7098 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.634, allocations: 18.77 kB / 0.7099 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.6356, allocations: 0.9663 MB / 0.7108 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6356, allocations: 3.094 kB / 0.7108 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004041/0.6396, allocations: 1.289 MB / 0.7121 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008009/0.6404, allocations: 282.3 kB / 0.7123 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/0.6408, allocations: 16.61 kB / 0.7123 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.642, allocations: 110.5 kB / 0.7125 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6421, allocations: 43.92 kB / 0.7125 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.558e-05/0.6422, allocations: 25.14 kB / 0.7125 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001628/0.6438, allocations: 0.7414 MB / 0.7132 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6439, allocations: 0 / 0.7132 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002535/0.6464, allocations: 0.5678 MB / 0.7138 GB, free: 4.812 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 (34): * Single equations (assignments): 29 * 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.001171/0.6476, allocations: 401.5 kB / 0.7142 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003531/0.6511, allocations: 1.17 MB / 0.7153 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.6512, allocations: 0 / 0.7153 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009944/0.6522, allocations: 379.6 kB / 0.7157 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003528/0.6557, allocations: 0.5067 MB / 0.7162 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006384/0.6621, allocations: 2.57 MB / 0.7187 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007779/0.6629, allocations: 1.062 MB / 0.7197 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.6633, allocations: 83.41 kB / 0.7198 GB, free: 14.73 MB / 0.545 GB Notification: Performance of SimCode: time 9.41e-07/0.6633, allocations: 0 / 0.7198 GB, free: 14.73 MB / 0.545 GB Notification: Performance of Templates: time 0.03691/0.7002, allocations: 24.1 MB / 0.7433 GB, free: 6.797 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)