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.0006366/0.0006367, allocations: 91.84 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.003715/0.003715, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.136/1.136, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.8305/0.8305, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 12 kB / 0.5164 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.123, allocations: 83.41 MB / 0.5978 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.2626/0.3856, allocations: 73.41 MB / 0.6695 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01471/0.4003, allocations: 12.68 MB / 0.6819 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.4015, allocations: 57.28 kB / 0.682 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.4029, allocations: 0.6769 MB / 0.6826 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004145/0.407, allocations: 2.266 MB / 0.6848 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.4095, allocations: 1.27 MB / 0.6861 GB, free: 140 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005207/0.4147, allocations: 5.544 MB / 0.6915 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.4161, allocations: 1.148 MB / 0.6926 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.418, allocations: 1.32 MB / 0.6939 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.4192, allocations: 1.125 MB / 0.695 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.4194, allocations: 55.03 kB / 0.695 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.4217, allocations: 1.239 MB / 0.6963 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002631/0.4219, allocations: 285.6 kB / 0.6965 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007054/0.4227, allocations: 0.8051 MB / 0.6973 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.4255, allocations: 2.859 MB / 0.7001 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4255, allocations: 0 / 0.7001 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4256, allocations: 0 / 0.7001 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.4256, allocations: 0 / 0.7001 GB, free: 10.55 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.002914/0.4285, allocations: 1.786 MB / 0.7018 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.4285, allocations: 8.906 kB / 0.7019 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000721/0.4293, allocations: 240.7 kB / 0.7021 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.4315, allocations: 1.491 MB / 0.7035 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.4316, allocations: 77.69 kB / 0.7036 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.4318, allocations: 99.94 kB / 0.7037 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.4338, allocations: 1.121 MB / 0.7048 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.4338, allocations: 11.78 kB / 0.7048 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.994e-05/0.4339, allocations: 46.92 kB / 0.7049 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.4339, allocations: 29.14 kB / 0.7049 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.4358, allocations: 0.9261 MB / 0.7058 GB, free: 7.453 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.005617/0.4414, allocations: 4.931 MB / 0.7106 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.4428, allocations: 0.6366 MB / 0.7112 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006878/0.4435, allocations: 370.8 kB / 0.7116 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.444, allocations: 0.839 MB / 0.7124 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.4441, allocations: 42.47 kB / 0.7124 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 1.894e-06/0.4441, allocations: 0 / 0.7124 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006945/0.451, allocations: 1.885 MB / 0.7143 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.4511, allocations: 58.06 kB / 0.7143 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.4525, allocations: 1.208 MB / 0.7155 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.597e-05/0.4526, allocations: 47.23 kB / 0.7156 GB, free: 480 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/0.4531, allocations: 0.5961 MB / 0.7161 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.4533, allocations: 220.3 kB / 0.7164 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.347e-05/0.4533, allocations: 62.77 kB / 0.7164 GB, free: 15.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4535, allocations: 332.5 kB / 0.7167 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006382/0.4541, allocations: 302.5 kB / 0.717 GB, free: 15.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007624/0.4549, allocations: 0.5101 MB / 0.7175 GB, free: 14.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.4562, allocations: 0.7487 MB / 0.7183 GB, free: 14.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4562, allocations: 3.406 kB / 0.7183 GB, free: 14.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004306/0.4605, allocations: 1.407 MB / 0.7196 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.4606, allocations: 198.8 kB / 0.7198 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4607, allocations: 3.375 kB / 0.7198 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005246/0.4612, allocations: 148.6 kB / 0.72 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.4618, allocations: 160.3 kB / 0.7201 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007641/0.4625, allocations: 0.71 MB / 0.7208 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.4636, allocations: 163.9 kB / 0.721 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.4637, allocations: 36.83 kB / 0.721 GB, free: 12.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.23e-06/0.4637, allocations: 2.844 kB / 0.721 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00425/0.468, allocations: 1.258 MB / 0.7222 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.468, allocations: 7.938 kB / 0.7222 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004426/0.4684, allocations: 149 kB / 0.7224 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.469, allocations: 163.8 kB / 0.7225 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007195/0.4697, allocations: 0.7019 MB / 0.7232 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009434/0.4707, allocations: 163.1 kB / 0.7234 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/0.4708, allocations: 35.98 kB / 0.7234 GB, free: 10.69 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.0005803/0.4713, allocations: 425.4 kB / 0.7238 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.4715, allocations: 130.4 kB / 0.7239 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/0.476, allocations: 1.394 MB / 0.7253 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.476, allocations: 15.94 kB / 0.7253 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.476, allocations: 4 kB / 0.7253 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004094/0.4801, allocations: 1.236 MB / 0.7265 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005935/0.486, allocations: 2.745 MB / 0.7292 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.4861, allocations: 4 kB / 0.7292 GB, free: 4.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.4865, allocations: 128.2 kB / 0.7293 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004235/0.4869, allocations: 136.7 kB / 0.7295 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.543e-05/0.487, allocations: 20 kB / 0.7295 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004327/0.4913, allocations: 2.43 MB / 0.7319 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.4913, allocations: 7.938 kB / 0.7319 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004973/0.4963, allocations: 1.855 MB / 0.7337 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.4968, allocations: 335.1 kB / 0.734 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.4969, allocations: 12 kB / 0.734 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008064/0.4977, allocations: 96.53 kB / 0.7341 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.4978, allocations: 60.23 kB / 0.7342 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.876e-05/0.4979, allocations: 35.98 kB / 0.7342 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00102/0.4989, allocations: 0.8699 MB / 0.735 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4989, allocations: 4 kB / 0.735 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001659/0.5006, allocations: 0.7095 MB / 0.7357 GB, free: 13.64 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.0007401/0.5013, allocations: 467.1 kB / 0.7362 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002265/0.5036, allocations: 1.167 MB / 0.7373 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5036, allocations: 4 kB / 0.7373 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.505, allocations: 0.5877 MB / 0.7379 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/0.5087, allocations: 0.7965 MB / 0.7387 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.5119, allocations: 2.801 MB / 0.7414 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006339/0.5126, allocations: 1.173 MB / 0.7426 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009404/0.5135, allocations: 300.2 kB / 0.7428 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.5138, allocations: 115.3 kB / 0.743 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.5138, allocations: 0 / 0.743 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.04372/0.5575, allocations: 32.14 MB / 0.7743 GB, free: 6.422 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)