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.00108/0.00108, allocations: 91.92 kB / 16.02 MB, free: 80 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.001591/0.001591, allocations: 181.1 kB / 16.92 MB, free: 6.652 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.289 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.9779/0.9779, allocations: 143.2 MB / 435.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003326, allocations: 16 kB / 0.517 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1631, allocations: 83.41 MB / 0.5985 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.3199/0.4831, allocations: 73.44 MB / 0.6702 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02028/0.5034, allocations: 15.05 MB / 0.6849 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.5058, allocations: 56.34 kB / 0.685 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.5081, allocations: 0.6695 MB / 0.6856 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007742/0.5159, allocations: 2.395 MB / 0.688 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.52, allocations: 1.267 MB / 0.6892 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007882/0.5279, allocations: 5.562 MB / 0.6946 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.5301, allocations: 1.165 MB / 0.6958 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.5332, allocations: 1.319 MB / 0.6971 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.5354, allocations: 1.147 MB / 0.6982 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.5356, allocations: 55.97 kB / 0.6982 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.5388, allocations: 1.239 MB / 0.6994 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003742/0.5392, allocations: 283.8 kB / 0.6997 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.5404, allocations: 0.8071 MB / 0.7005 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.5436, allocations: 2.293 MB / 0.7027 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5436, allocations: 4.938 kB / 0.7027 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5436, allocations: 0 / 0.7027 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.342e-05/0.5437, allocations: 0 / 0.7027 GB, free: 8.855 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.004053/0.5478, allocations: 1.792 MB / 0.7045 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.5478, allocations: 10.03 kB / 0.7045 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008806/0.5487, allocations: 241.7 kB / 0.7047 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.5514, allocations: 1.496 MB / 0.7062 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.397e-05/0.5515, allocations: 75.88 kB / 0.7063 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.5517, allocations: 101.2 kB / 0.7064 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.5541, allocations: 1.125 MB / 0.7075 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.5541, allocations: 1.719 kB / 0.7075 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5542, allocations: 45.94 kB / 0.7075 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/0.5543, allocations: 25.08 kB / 0.7075 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.5565, allocations: 0.9324 MB / 0.7084 GB, free: 5.758 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.007318/0.5638, allocations: 4.92 MB / 0.7132 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.5654, allocations: 0.6354 MB / 0.7139 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008122/0.5662, allocations: 376.6 kB / 0.7142 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006802/0.5669, allocations: 0.8273 MB / 0.715 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.567, allocations: 42.75 kB / 0.7151 GB, free: 452 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.755e-06/0.567, allocations: 1.156 kB / 0.7151 GB, free: 452 kB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.008025/0.575, allocations: 1.896 MB / 0.7169 GB, free: 15.53 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.5751, allocations: 66.09 kB / 0.717 GB, free: 15.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.5771, allocations: 1.209 MB / 0.7182 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.5773, allocations: 39.3 kB / 0.7182 GB, free: 14.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006018/0.578, allocations: 0.6003 MB / 0.7188 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.5782, allocations: 220 kB / 0.719 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-05/0.5783, allocations: 63 kB / 0.7191 GB, free: 13.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5785, allocations: 332.9 kB / 0.7194 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007499/0.5792, allocations: 298.8 kB / 0.7197 GB, free: 13.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008568/0.5801, allocations: 0.5146 MB / 0.7202 GB, free: 13.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.5816, allocations: 0.7522 MB / 0.7209 GB, free: 12.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.5816, allocations: 10.22 kB / 0.7209 GB, free: 12.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005392/0.587, allocations: 1.402 MB / 0.7223 GB, free: 12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.5872, allocations: 193 kB / 0.7225 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.5872, allocations: 4.125 kB / 0.7225 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006612/0.5879, allocations: 149.6 kB / 0.7226 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/0.5887, allocations: 165 kB / 0.7228 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009777/0.5897, allocations: 0.7238 MB / 0.7235 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.5914, allocations: 167.5 kB / 0.7236 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.5916, allocations: 40.39 kB / 0.7237 GB, free: 10.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.5916, allocations: 4.125 kB / 0.7237 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004903/0.5965, allocations: 1.249 MB / 0.7249 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.5965, allocations: 8.312 kB / 0.7249 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005403/0.5971, allocations: 153.9 kB / 0.7251 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.5978, allocations: 163.7 kB / 0.7252 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000854/0.5986, allocations: 0.7162 MB / 0.7259 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.6001, allocations: 160.6 kB / 0.7261 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.776e-05/0.6002, allocations: 35.98 kB / 0.7261 GB, free: 8.598 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.0008252/0.6011, allocations: 416.9 kB / 0.7265 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.6013, allocations: 142.2 kB / 0.7266 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005071/0.6064, allocations: 1.398 MB / 0.728 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.6064, allocations: 7.984 kB / 0.728 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.6064, allocations: 0 / 0.728 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004607/0.611, allocations: 1.236 MB / 0.7292 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007533/0.6186, allocations: 2.741 MB / 0.7319 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.6187, allocations: 8.375 kB / 0.7319 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005431/0.6192, allocations: 127.8 kB / 0.732 GB, free: 2.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005153/0.6197, allocations: 132.8 kB / 0.7321 GB, free: 2.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.6198, allocations: 23.98 kB / 0.7322 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005127/0.6249, allocations: 2.485 MB / 0.7346 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.625, allocations: 4.109 kB / 0.7346 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006016/0.631, allocations: 1.859 MB / 0.7364 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.6321, allocations: 343 kB / 0.7367 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.6324, allocations: 19.94 kB / 0.7368 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/0.6334, allocations: 91.81 kB / 0.7368 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.6335, allocations: 60.36 kB / 0.7369 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.007e-05/0.6336, allocations: 31.92 kB / 0.7369 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001378/0.635, allocations: 0.8739 MB / 0.7378 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.635, allocations: 0 / 0.7378 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002423/0.6375, allocations: 0.7135 MB / 0.7385 GB, free: 11.5 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.001111/0.6386, allocations: 452.6 kB / 0.7389 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002815/0.6414, allocations: 1.165 MB / 0.74 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.6414, allocations: 4 kB / 0.7401 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.6431, allocations: 0.5995 MB / 0.7406 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004956/0.648, allocations: 0.7783 MB / 0.7414 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004519/0.6526, allocations: 2.866 MB / 0.7442 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008186/0.6534, allocations: 1.169 MB / 0.7453 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/0.6539, allocations: 115.4 kB / 0.7454 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/0.6539, allocations: 0 / 0.7454 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of Templates: time 0.04246/0.6963, allocations: 31.03 MB / 0.7758 GB, free: 5.426 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)