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.0008627/0.0008628, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.006759/0.006759, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.392/1.392, allocations: 223.2 MB / 240.3 MB, free: 5.336 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.002/1.002, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003107, allocations: 8 kB / 0.5164 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1648, allocations: 83.41 MB / 0.5978 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.3295/0.4944, allocations: 73.44 MB / 0.6696 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01995/0.5144, allocations: 15.05 MB / 0.6843 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00235/0.5168, allocations: 57.09 kB / 0.6843 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.5189, allocations: 0.6731 MB / 0.685 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007745/0.5267, allocations: 2.385 MB / 0.6873 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003913/0.5306, allocations: 1.278 MB / 0.6885 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008903/0.5395, allocations: 5.562 MB / 0.694 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.542, allocations: 1.154 MB / 0.6951 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.5458, allocations: 1.328 MB / 0.6964 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.5486, allocations: 1.151 MB / 0.6975 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000367/0.5489, allocations: 56.59 kB / 0.6976 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004317/0.5533, allocations: 1.237 MB / 0.6988 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004709/0.5538, allocations: 285.6 kB / 0.6991 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.5555, allocations: 0.8029 MB / 0.6998 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005833/0.5613, allocations: 2.857 MB / 0.7026 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5614, allocations: 0.7969 kB / 0.7026 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.276e-06/0.5614, allocations: 1.281 kB / 0.7026 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.587e-05/0.5615, allocations: 4 kB / 0.7026 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.004374/0.5659, allocations: 1.781 MB / 0.7044 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5659, allocations: 9.719 kB / 0.7044 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.5669, allocations: 245.2 kB / 0.7046 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.5701, allocations: 1.497 MB / 0.7061 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.915e-05/0.5702, allocations: 76.5 kB / 0.7061 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.5704, allocations: 101.9 kB / 0.7062 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.5728, allocations: 1.127 MB / 0.7073 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.5728, allocations: 1.125 kB / 0.7073 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-05/0.5729, allocations: 37.78 kB / 0.7074 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/0.573, allocations: 25.8 kB / 0.7074 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.575, allocations: 0.9366 MB / 0.7083 GB, free: 5.766 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.00655/0.5816, allocations: 4.923 MB / 0.7131 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.5831, allocations: 0.6353 MB / 0.7138 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007653/0.5838, allocations: 372.9 kB / 0.7141 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006158/0.5845, allocations: 0.8281 MB / 0.7149 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.5845, allocations: 41.75 kB / 0.715 GB, free: 144 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.084e-06/0.5845, allocations: 1.312 kB / 0.715 GB, free: 144 kB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007762/0.5923, allocations: 1.903 MB / 0.7168 GB, free: 15.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.5924, allocations: 59.16 kB / 0.7169 GB, free: 15.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.5942, allocations: 1.209 MB / 0.7181 GB, free: 14.49 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.5944, allocations: 43.42 kB / 0.7181 GB, free: 14.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/0.5949, allocations: 0.6 MB / 0.7187 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.5952, allocations: 219.6 kB / 0.7189 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.5953, allocations: 62.91 kB / 0.7189 GB, free: 13.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5955, allocations: 336.8 kB / 0.7193 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007024/0.5962, allocations: 302.6 kB / 0.7196 GB, free: 13.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008279/0.597, allocations: 0.5148 MB / 0.7201 GB, free: 12.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.5985, allocations: 0.7491 MB / 0.7208 GB, free: 12.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.5985, allocations: 5.531 kB / 0.7208 GB, free: 12.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004975/0.6035, allocations: 1.403 MB / 0.7222 GB, free: 11.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.6036, allocations: 192.7 kB / 0.7224 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6036, allocations: 8.062 kB / 0.7224 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/0.6042, allocations: 149.8 kB / 0.7225 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.6049, allocations: 164.9 kB / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009398/0.6058, allocations: 0.7208 MB / 0.7234 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.6075, allocations: 171 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.6076, allocations: 31.98 kB / 0.7236 GB, free: 10.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.6076, allocations: 4 kB / 0.7236 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00466/0.6123, allocations: 1.253 MB / 0.7248 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6123, allocations: 7.984 kB / 0.7248 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005321/0.6129, allocations: 145.4 kB / 0.7249 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/0.6136, allocations: 167.8 kB / 0.7251 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009806/0.6146, allocations: 0.7133 MB / 0.7258 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.6162, allocations: 159.2 kB / 0.7259 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.6164, allocations: 35.94 kB / 0.726 GB, free: 8.027 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.001021/0.6174, allocations: 416.9 kB / 0.7264 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004411/0.6178, allocations: 142.2 kB / 0.7265 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005073/0.6229, allocations: 1.404 MB / 0.7279 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.623, allocations: 7.984 kB / 0.7279 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.623, allocations: 8 kB / 0.7279 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004525/0.6275, allocations: 1.228 MB / 0.7291 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008076/0.6356, allocations: 2.753 MB / 0.7318 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.6357, allocations: 4 kB / 0.7318 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/0.6361, allocations: 123.8 kB / 0.7319 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005074/0.6367, allocations: 136.9 kB / 0.732 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/0.6367, allocations: 19.98 kB / 0.7321 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005092/0.6418, allocations: 2.483 MB / 0.7345 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.6419, allocations: 7.938 kB / 0.7345 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005939/0.6478, allocations: 1.852 MB / 0.7363 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008522/0.6487, allocations: 335 kB / 0.7366 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003382/0.649, allocations: 23.94 kB / 0.7366 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.6502, allocations: 93.75 kB / 0.7367 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.6503, allocations: 60.3 kB / 0.7368 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.262e-05/0.6504, allocations: 31.92 kB / 0.7368 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001477/0.6519, allocations: 0.874 MB / 0.7377 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6519, allocations: 0 / 0.7377 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002338/0.6542, allocations: 0.7135 MB / 0.7384 GB, free: 10.93 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.001035/0.6553, allocations: 445.5 kB / 0.7388 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002751/0.658, allocations: 1.161 MB / 0.7399 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.658, allocations: 4 kB / 0.7399 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.6596, allocations: 0.6072 MB / 0.7405 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004618/0.6643, allocations: 0.8031 MB / 0.7413 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/0.6688, allocations: 2.822 MB / 0.7441 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008344/0.6697, allocations: 1.179 MB / 0.7452 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001427/0.6711, allocations: 304.3 kB / 0.7455 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/0.6715, allocations: 123.3 kB / 0.7456 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of SimCode: time 7.02e-07/0.6715, allocations: 0 / 0.7456 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of Templates: time 0.05432/0.7258, allocations: 32.21 MB / 0.7771 GB, free: 3.586 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)