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.001491/0.001491, allocations: 108 kB / 15.61 MB, free: 152 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.001641/0.001641, allocations: 190.5 kB / 16.53 MB, free: 6.664 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.9626/0.9626, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 0.5141 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1605, allocations: 82.03 MB / 0.5943 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.3084/0.469, allocations: 75.13 MB / 0.6676 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.4876, allocations: 12.77 MB / 0.6801 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/0.4903, allocations: 66.06 kB / 0.6802 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.493, allocations: 0.8241 MB / 0.681 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007141/0.5002, allocations: 2.461 MB / 0.6834 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003894/0.5041, allocations: 1.389 MB / 0.6847 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006944/0.511, allocations: 4.38 MB / 0.689 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00256/0.5136, allocations: 1.433 MB / 0.6904 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004057/0.5177, allocations: 1.616 MB / 0.692 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/0.5203, allocations: 1.19 MB / 0.6931 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005029/0.5208, allocations: 162.2 kB / 0.6933 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00401/0.5249, allocations: 1.407 MB / 0.6947 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006511/0.5255, allocations: 395.9 kB / 0.695 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.5274, allocations: 0.9076 MB / 0.6959 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005532/0.533, allocations: 2.982 MB / 0.6988 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.533, allocations: 0 / 0.6988 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.004e-06/0.533, allocations: 1.438 kB / 0.6988 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.543e-05/0.5331, allocations: 0 / 0.6988 GB, free: 9.242 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.004451/0.5375, allocations: 2.083 MB / 0.7009 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.5376, allocations: 9 kB / 0.7009 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009917/0.5386, allocations: 232.1 kB / 0.7011 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.5413, allocations: 1.461 MB / 0.7025 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/0.5414, allocations: 76.53 kB / 0.7026 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.5415, allocations: 104.8 kB / 0.7027 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.5437, allocations: 1.1 MB / 0.7038 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.5437, allocations: 0 / 0.7038 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-05/0.5438, allocations: 38.31 kB / 0.7038 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.5438, allocations: 23.97 kB / 0.7038 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.5458, allocations: 0.8874 MB / 0.7047 GB, free: 5.984 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.006159/0.552, allocations: 4.96 MB / 0.7096 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.5534, allocations: 0.6109 MB / 0.7102 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/0.5542, allocations: 362.4 kB / 0.7105 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/0.5548, allocations: 0.8233 MB / 0.7113 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.5548, allocations: 39.62 kB / 0.7113 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.916e-06/0.5548, allocations: 0 / 0.7113 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007616/0.5625, allocations: 1.686 MB / 0.713 GB, free: 15.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.5625, allocations: 57.94 kB / 0.713 GB, free: 15.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.5644, allocations: 1.227 MB / 0.7142 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.5646, allocations: 38.98 kB / 0.7143 GB, free: 15.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005431/0.5651, allocations: 0.6123 MB / 0.7149 GB, free: 14.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.5654, allocations: 210.8 kB / 0.7151 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.5656, allocations: 151.5 kB / 0.7152 GB, free: 14.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.5657, allocations: 333.3 kB / 0.7155 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007081/0.5664, allocations: 291 kB / 0.7158 GB, free: 13.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008673/0.5673, allocations: 0.492 MB / 0.7163 GB, free: 13.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.5688, allocations: 0.7084 MB / 0.717 GB, free: 12.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5688, allocations: 9.375 kB / 0.717 GB, free: 12.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005117/0.5739, allocations: 1.27 MB / 0.7182 GB, free: 12.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.574, allocations: 9.906 kB / 0.7182 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.574, allocations: 2.781 kB / 0.7182 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006516/0.5747, allocations: 146.3 kB / 0.7184 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007396/0.5754, allocations: 153.2 kB / 0.7185 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008575/0.5763, allocations: 0.6954 MB / 0.7192 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.5777, allocations: 116.7 kB / 0.7193 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.5779, allocations: 36.08 kB / 0.7194 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001307/0.5792, allocations: 0.5544 MB / 0.7199 GB, free: 11.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008455/0.58, allocations: 494 kB / 0.7204 GB, free: 10.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001437/0.5815, allocations: 0.7002 MB / 0.7211 GB, free: 10.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/0.5815, allocations: 0 / 0.7211 GB, free: 10.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005025/0.5865, allocations: 1.267 MB / 0.7223 GB, free: 9.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.5866, allocations: 8 kB / 0.7223 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5866, allocations: 4 kB / 0.7223 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/0.5871, allocations: 133.1 kB / 0.7224 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/0.5878, allocations: 163.7 kB / 0.7226 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008252/0.5886, allocations: 0.6968 MB / 0.7233 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.59, allocations: 105.6 kB / 0.7234 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/0.5901, allocations: 29.12 kB / 0.7234 GB, free: 8.344 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.0002915/0.5904, allocations: 228.1 kB / 0.7236 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/0.5907, allocations: 134.4 kB / 0.7237 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004786/0.5954, allocations: 1.262 MB / 0.725 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.5955, allocations: 12 kB / 0.725 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5955, allocations: 0 / 0.725 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004208/0.5997, allocations: 1.099 MB / 0.7261 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007066/0.6068, allocations: 2.626 MB / 0.7286 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.6068, allocations: 4 kB / 0.7286 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.6073, allocations: 111.9 kB / 0.7287 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004889/0.6078, allocations: 137.1 kB / 0.7289 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/0.6079, allocations: 19.94 kB / 0.7289 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004959/0.6128, allocations: 2.585 MB / 0.7314 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6128, allocations: 4 kB / 0.7314 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005282/0.6181, allocations: 1.703 MB / 0.7331 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005706/0.6187, allocations: 311.2 kB / 0.7334 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.6189, allocations: 19.98 kB / 0.7334 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007897/0.6197, allocations: 48.88 kB / 0.7334 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.6198, allocations: 64.31 kB / 0.7335 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-05/0.6199, allocations: 31.97 kB / 0.7335 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001184/0.6211, allocations: 0.8894 MB / 0.7344 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6211, allocations: 0 / 0.7344 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001874/0.623, allocations: 0.7135 MB / 0.7351 GB, free: 11.96 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.000836/0.6238, allocations: 462.1 kB / 0.7355 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002708/0.6266, allocations: 1.166 MB / 0.7367 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6266, allocations: 192 / 0.7367 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.628, allocations: 0.5602 MB / 0.7372 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/0.6315, allocations: 0.8102 MB / 0.738 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.6349, allocations: 2.288 MB / 0.7402 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.6355, allocations: 1.172 MB / 0.7414 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001141/0.6367, allocations: 308.7 kB / 0.7417 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.6369, allocations: 107.3 kB / 0.7418 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.6369, allocations: 0 / 0.7418 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of Templates: time 0.05329/0.6902, allocations: 32.45 MB / 0.7735 GB, free: 4.98 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)