Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007982/0.0007981, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008315/0.0008315, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.398/1.398, allocations: 223.3 MB / 241 MB, free: 5.34 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.018/1.018, allocations: 143.2 MB / 435.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.000358, allocations: 8 kB / 0.517 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1899, allocations: 83.41 MB / 0.5985 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.4068/0.5967, allocations: 73.4 MB / 0.6702 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0204/0.6172, allocations: 12.68 MB / 0.6826 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/0.6203, allocations: 56.56 kB / 0.6826 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.6227, allocations: 0.6723 MB / 0.6833 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008455/0.6312, allocations: 2.28 MB / 0.6855 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004233/0.6354, allocations: 1.271 MB / 0.6867 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01013/0.6456, allocations: 5.544 MB / 0.6922 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002793/0.6484, allocations: 1.14 MB / 0.6933 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004329/0.6528, allocations: 1.315 MB / 0.6945 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002981/0.6558, allocations: 1.135 MB / 0.6957 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003215/0.6561, allocations: 59.59 kB / 0.6957 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004287/0.6604, allocations: 1.238 MB / 0.6969 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004927/0.6609, allocations: 288 kB / 0.6972 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.6626, allocations: 0.7963 MB / 0.698 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005134/0.6677, allocations: 2.297 MB / 0.7002 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6678, allocations: 3.938 kB / 0.7002 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6678, allocations: 0 / 0.7002 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.943e-05/0.6679, allocations: 0 / 0.7002 GB, free: 10.69 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.005386/0.6733, allocations: 1.783 MB / 0.702 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.6733, allocations: 9.938 kB / 0.702 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.6746, allocations: 244.9 kB / 0.7022 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/0.6781, allocations: 1.492 MB / 0.7037 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.515e-05/0.6782, allocations: 83.98 kB / 0.7037 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.6783, allocations: 105 kB / 0.7038 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/0.681, allocations: 1.12 MB / 0.7049 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.6811, allocations: 4.844 kB / 0.7049 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.6812, allocations: 45.41 kB / 0.705 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.6813, allocations: 26.8 kB / 0.705 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.6836, allocations: 0.9234 MB / 0.7059 GB, free: 7.594 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.007784/0.6914, allocations: 4.931 MB / 0.7107 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.6929, allocations: 0.6375 MB / 0.7114 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009978/0.694, allocations: 372 kB / 0.7117 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007208/0.6947, allocations: 0.8272 MB / 0.7125 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.6947, allocations: 42.91 kB / 0.7126 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 4.439e-06/0.6947, allocations: 0 / 0.7126 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.008764/0.7035, allocations: 1.881 MB / 0.7144 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.7036, allocations: 62.5 kB / 0.7145 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.706, allocations: 1.213 MB / 0.7156 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.7062, allocations: 43.39 kB / 0.7157 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007211/0.707, allocations: 0.5994 MB / 0.7163 GB, free: 200 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.7073, allocations: 219 kB / 0.7165 GB, free: 4 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.7075, allocations: 66.94 kB / 0.7165 GB, free: 15.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002931/0.7078, allocations: 332.8 kB / 0.7169 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007562/0.7085, allocations: 303.1 kB / 0.7171 GB, free: 15.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.7095, allocations: 0.5057 MB / 0.7176 GB, free: 15.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.7111, allocations: 0.7524 MB / 0.7184 GB, free: 14.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.7111, allocations: 1.125 kB / 0.7184 GB, free: 14.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005358/0.7165, allocations: 1.406 MB / 0.7197 GB, free: 13.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.7167, allocations: 201.2 kB / 0.7199 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.7167, allocations: 2.312 kB / 0.7199 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006489/0.7173, allocations: 145 kB / 0.7201 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.718, allocations: 168.1 kB / 0.7202 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008803/0.7189, allocations: 0.7079 MB / 0.7209 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.7206, allocations: 164.6 kB / 0.7211 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.7207, allocations: 31.45 kB / 0.7211 GB, free: 12.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7208, allocations: 4.844 kB / 0.7211 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005018/0.7258, allocations: 1.252 MB / 0.7223 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.7258, allocations: 8.062 kB / 0.7223 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005683/0.7264, allocations: 144.6 kB / 0.7225 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/0.727, allocations: 171.8 kB / 0.7227 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.7281, allocations: 0.7014 MB / 0.7233 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.7297, allocations: 163.8 kB / 0.7235 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/0.7298, allocations: 32 kB / 0.7235 GB, free: 11.2 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001012/0.7308, allocations: 424.9 kB / 0.7239 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.7311, allocations: 130.4 kB / 0.7241 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005232/0.7363, allocations: 1.398 MB / 0.7254 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.7364, allocations: 15.81 kB / 0.7254 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.7364, allocations: 0 / 0.7254 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00477/0.7412, allocations: 1.236 MB / 0.7266 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007879/0.7491, allocations: 2.745 MB / 0.7293 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.7491, allocations: 4 kB / 0.7293 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.7496, allocations: 124.2 kB / 0.7294 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005774/0.7502, allocations: 140.7 kB / 0.7296 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.7503, allocations: 19.98 kB / 0.7296 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005242/0.7555, allocations: 2.437 MB / 0.732 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.7556, allocations: 7.938 kB / 0.732 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00622/0.7618, allocations: 1.859 MB / 0.7338 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.7629, allocations: 335.2 kB / 0.7341 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.7632, allocations: 16 kB / 0.7341 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.7642, allocations: 96.19 kB / 0.7342 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.7644, allocations: 60.19 kB / 0.7343 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/0.7644, allocations: 31.97 kB / 0.7343 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001436/0.7659, allocations: 0.866 MB / 0.7352 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7659, allocations: 4 kB / 0.7352 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002169/0.7681, allocations: 0.7095 MB / 0.7359 GB, free: 14.15 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.7691, allocations: 461.5 kB / 0.7363 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002942/0.772, allocations: 1.17 MB / 0.7374 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.7721, allocations: 4.188 kB / 0.7374 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.7737, allocations: 0.5915 MB / 0.738 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004826/0.7785, allocations: 0.7957 MB / 0.7388 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.7832, allocations: 2.83 MB / 0.7416 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008303/0.784, allocations: 1.169 MB / 0.7427 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/0.7845, allocations: 119.4 kB / 0.7428 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of SimCode: time 1.233e-06/0.7845, allocations: 3.938 kB / 0.7428 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of Templates: time 0.04593/0.8304, allocations: 30.97 MB / 0.7731 GB, free: 8.16 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)