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.001285/0.001285, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001263/0.001263, allocations: 192.2 kB / 16.13 MB, free: 6.656 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.9851/0.9851, allocations: 143 MB / 433 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 0.5135 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1539, allocations: 82.03 MB / 0.5936 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.3267/0.4807, allocations: 74.68 MB / 0.6665 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.499, allocations: 12.82 MB / 0.679 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/0.5019, allocations: 60.34 kB / 0.6791 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.5045, allocations: 0.6781 MB / 0.6798 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007094/0.5116, allocations: 2.273 MB / 0.682 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.5154, allocations: 1.256 MB / 0.6832 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009252/0.5246, allocations: 5.549 MB / 0.6886 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/0.5273, allocations: 1.189 MB / 0.6898 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005091/0.5324, allocations: 1.354 MB / 0.6911 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/0.536, allocations: 1.182 MB / 0.6923 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007286/0.5367, allocations: 72.28 kB / 0.6923 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005012/0.5418, allocations: 1.257 MB / 0.6936 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009142/0.5427, allocations: 307.3 kB / 0.6939 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002631/0.5454, allocations: 0.8143 MB / 0.6947 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006773/0.5521, allocations: 2.919 MB / 0.6975 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5522, allocations: 0 / 0.6975 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5522, allocations: 1.438 kB / 0.6975 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.113e-05/0.5523, allocations: 4 kB / 0.6975 GB, free: 11.03 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.006417/0.5587, allocations: 2.082 MB / 0.6995 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.5588, allocations: 9.547 kB / 0.6995 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.5601, allocations: 230.5 kB / 0.6998 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003422/0.5635, allocations: 1.495 MB / 0.7012 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.719e-05/0.5636, allocations: 79.81 kB / 0.7013 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/0.5639, allocations: 105.7 kB / 0.7014 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/0.5666, allocations: 1.103 MB / 0.7025 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.5667, allocations: 5 kB / 0.7025 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.5668, allocations: 41.81 kB / 0.7025 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.5668, allocations: 28.91 kB / 0.7026 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.5689, allocations: 0.8844 MB / 0.7034 GB, free: 7.742 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.007536/0.5765, allocations: 4.908 MB / 0.7082 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.5781, allocations: 0.6234 MB / 0.7088 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007726/0.5789, allocations: 358.2 kB / 0.7092 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007308/0.5796, allocations: 0.8189 MB / 0.71 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.5797, allocations: 43.84 kB / 0.71 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.976e-06/0.5797, allocations: 0 / 0.71 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007737/0.5874, allocations: 1.675 MB / 0.7116 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.5875, allocations: 57.47 kB / 0.7117 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.5897, allocations: 1.212 MB / 0.7129 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.5898, allocations: 43.67 kB / 0.7129 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006086/0.5905, allocations: 0.6066 MB / 0.7135 GB, free: 320 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.5907, allocations: 215.6 kB / 0.7137 GB, free: 128 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.591, allocations: 152 kB / 0.7139 GB, free: 36 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5911, allocations: 332.1 kB / 0.7142 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006885/0.5918, allocations: 291.1 kB / 0.7145 GB, free: 15.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009329/0.5928, allocations: 495.7 kB / 0.7149 GB, free: 15.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.5943, allocations: 0.7164 MB / 0.7156 GB, free: 14.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.5943, allocations: 2.781 kB / 0.7156 GB, free: 14.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004919/0.5992, allocations: 1.274 MB / 0.7169 GB, free: 14.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5993, allocations: 7.281 kB / 0.7169 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.5993, allocations: 4.219 kB / 0.7169 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005862/0.5999, allocations: 137.5 kB / 0.717 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/0.6005, allocations: 157.5 kB / 0.7172 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008383/0.6014, allocations: 0.6904 MB / 0.7178 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.6029, allocations: 154.9 kB / 0.718 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.603, allocations: 39.45 kB / 0.718 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001182/0.6042, allocations: 0.5502 MB / 0.7186 GB, free: 12.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008203/0.605, allocations: 490 kB / 0.719 GB, free: 12.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001446/0.6065, allocations: 0.7061 MB / 0.7197 GB, free: 12.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.039e-06/0.6065, allocations: 1.984 kB / 0.7197 GB, free: 12.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004716/0.6112, allocations: 1.268 MB / 0.721 GB, free: 10.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6112, allocations: 4.625 kB / 0.721 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6112, allocations: 4 kB / 0.721 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004932/0.6117, allocations: 133.1 kB / 0.7211 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/0.6124, allocations: 171.7 kB / 0.7213 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007879/0.6132, allocations: 0.6859 MB / 0.7219 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.6146, allocations: 135.7 kB / 0.7221 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.655e-05/0.6147, allocations: 35.98 kB / 0.7221 GB, free: 9.645 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.0002898/0.615, allocations: 228 kB / 0.7223 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/0.6154, allocations: 130.4 kB / 0.7224 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004765/0.6201, allocations: 1.278 MB / 0.7237 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.6202, allocations: 11.98 kB / 0.7237 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6202, allocations: 0 / 0.7237 GB, free: 7.988 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004108/0.6243, allocations: 1.096 MB / 0.7248 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007203/0.6315, allocations: 2.618 MB / 0.7273 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.6315, allocations: 4 kB / 0.7273 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.6321, allocations: 111.9 kB / 0.7274 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004951/0.6326, allocations: 128.7 kB / 0.7276 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.6326, allocations: 20 kB / 0.7276 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004645/0.6373, allocations: 2.343 MB / 0.7299 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6373, allocations: 4 kB / 0.7299 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005639/0.6429, allocations: 1.703 MB / 0.7315 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.644, allocations: 303.2 kB / 0.7318 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005164/0.6445, allocations: 20 kB / 0.7318 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.6459, allocations: 83.88 kB / 0.7319 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.6461, allocations: 64.23 kB / 0.732 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.6462, allocations: 28.27 kB / 0.732 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001778/0.648, allocations: 0.8738 MB / 0.7329 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/0.648, allocations: 0 / 0.7329 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002895/0.6509, allocations: 0.7095 MB / 0.7336 GB, free: 13.5 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.001304/0.6522, allocations: 455.8 kB / 0.734 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002766/0.655, allocations: 1.116 MB / 0.7351 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.655, allocations: 0 / 0.7351 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.6564, allocations: 0.5603 MB / 0.7356 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/0.6604, allocations: 0.7531 MB / 0.7364 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/0.6651, allocations: 2.757 MB / 0.7391 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009804/0.6661, allocations: 1.169 MB / 0.7402 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001357/0.6675, allocations: 311.7 kB / 0.7405 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.6678, allocations: 107.4 kB / 0.7406 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.6678, allocations: 0 / 0.7406 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of Templates: time 0.05006/0.7178, allocations: 30.69 MB / 0.7706 GB, free: 7.914 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)