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.0008146/0.0008147, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008477/0.0008477, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.14/1.14, allocations: 223.3 MB / 240 MB, free: 5.406 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.8367/0.8367, allocations: 143.2 MB / 434.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.000259, allocations: 8 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1302, allocations: 83.42 MB / 0.5972 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.2652/0.3954, allocations: 69.38 MB / 0.665 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0144/0.4099, allocations: 11.96 MB / 0.6767 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.4112, allocations: 65.78 kB / 0.6767 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.4126, allocations: 0.5626 MB / 0.6773 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.4167, allocations: 1.889 MB / 0.6791 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.419, allocations: 0.9574 MB / 0.6801 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004891/0.4239, allocations: 4.792 MB / 0.6848 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.4253, allocations: 1.017 MB / 0.6857 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.4273, allocations: 1.265 MB / 0.687 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.4285, allocations: 1.057 MB / 0.688 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.4287, allocations: 54.59 kB / 0.6881 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.4308, allocations: 0.9313 MB / 0.689 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.4311, allocations: 268.6 kB / 0.6892 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.4314, allocations: 355.9 kB / 0.6896 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.4336, allocations: 2.221 MB / 0.6917 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4337, allocations: 1.031 kB / 0.6917 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4337, allocations: 0 / 0.6917 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.4337, allocations: 0 / 0.6917 GB, free: 0.5859 MB / 0.5137 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.002863/0.4366, allocations: 1.798 MB / 0.6935 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.4366, allocations: 10.08 kB / 0.6935 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006515/0.4372, allocations: 244.1 kB / 0.6937 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.4394, allocations: 1.454 MB / 0.6952 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/0.4395, allocations: 76.12 kB / 0.6952 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.4396, allocations: 103.8 kB / 0.6953 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.4415, allocations: 1.115 MB / 0.6964 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.4415, allocations: 2.219 kB / 0.6964 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.277e-05/0.4416, allocations: 40.62 kB / 0.6965 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.4416, allocations: 29.8 kB / 0.6965 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.4434, allocations: 0.916 MB / 0.6974 GB, free: 13.54 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.005046/0.4484, allocations: 4.926 MB / 0.7022 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.4496, allocations: 0.633 MB / 0.7028 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006517/0.4503, allocations: 373.4 kB / 0.7032 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/0.4509, allocations: 0.8246 MB / 0.704 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.4509, allocations: 51.95 kB / 0.704 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 1.733e-06/0.4509, allocations: 3.938 kB / 0.704 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006/0.4569, allocations: 1.87 MB / 0.7059 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.457, allocations: 58.28 kB / 0.7059 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.4584, allocations: 1.201 MB / 0.7071 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.4585, allocations: 38.98 kB / 0.7071 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.459, allocations: 0.6073 MB / 0.7077 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.4592, allocations: 215.5 kB / 0.7079 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.4592, allocations: 15.12 kB / 0.7079 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4593, allocations: 336.4 kB / 0.7083 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005987/0.4599, allocations: 293.8 kB / 0.7085 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000746/0.4607, allocations: 0.4934 MB / 0.709 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/0.4613, allocations: 364.2 kB / 0.7094 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4614, allocations: 1.188 kB / 0.7094 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003917/0.4653, allocations: 1.39 MB / 0.7107 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.4654, allocations: 201.6 kB / 0.7109 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4654, allocations: 3.188 kB / 0.7109 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005005/0.4659, allocations: 148.2 kB / 0.7111 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.4665, allocations: 166 kB / 0.7112 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007117/0.4672, allocations: 0.7102 MB / 0.7119 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008863/0.4681, allocations: 166.1 kB / 0.7121 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.269e-05/0.4682, allocations: 34.55 kB / 0.7121 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-06/0.4682, allocations: 4.969 kB / 0.7121 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003721/0.4719, allocations: 1.241 MB / 0.7133 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4719, allocations: 3.906 kB / 0.7133 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004181/0.4723, allocations: 148.6 kB / 0.7135 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.4729, allocations: 164.9 kB / 0.7136 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006434/0.4736, allocations: 0.7085 MB / 0.7143 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007878/0.4744, allocations: 169.5 kB / 0.7145 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.4744, allocations: 31.09 kB / 0.7145 GB, free: 1.879 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004559/0.4749, allocations: 415.9 kB / 0.7149 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.475, allocations: 138.9 kB / 0.715 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003824/0.4789, allocations: 1.395 MB / 0.7164 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.4789, allocations: 10.98 kB / 0.7164 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4789, allocations: 0.875 kB / 0.7164 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00347/0.4824, allocations: 1.231 MB / 0.7176 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00546/0.4879, allocations: 2.744 MB / 0.7203 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.4879, allocations: 4 kB / 0.7203 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.4883, allocations: 128.2 kB / 0.7204 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004034/0.4887, allocations: 136.7 kB / 0.7205 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.4888, allocations: 23.98 kB / 0.7206 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/0.4927, allocations: 2.429 MB / 0.7229 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.4927, allocations: 12 kB / 0.723 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004375/0.4971, allocations: 1.836 MB / 0.7247 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004077/0.4975, allocations: 331.1 kB / 0.7251 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.4977, allocations: 24.05 kB / 0.7251 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007319/0.4984, allocations: 99.7 kB / 0.7252 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4985, allocations: 56.31 kB / 0.7252 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.4986, allocations: 31.97 kB / 0.7253 GB, free: 8.188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001008/0.4996, allocations: 0.8582 MB / 0.7261 GB, free: 7.328 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4996, allocations: 0 / 0.7261 GB, free: 7.328 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001589/0.5012, allocations: 0.7057 MB / 0.7268 GB, free: 6.621 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006913/0.5019, allocations: 447.2 kB / 0.7272 GB, free: 6.191 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.5041, allocations: 1.163 MB / 0.7284 GB, free: 5.031 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5041, allocations: 8 kB / 0.7284 GB, free: 5.023 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.5054, allocations: 0.5914 MB / 0.7289 GB, free: 4.422 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/0.5082, allocations: 0.7584 MB / 0.7297 GB, free: 3.684 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.5116, allocations: 2.75 MB / 0.7324 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.5123, allocations: 1.176 MB / 0.7335 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00101/0.5133, allocations: 308.3 kB / 0.7338 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.5136, allocations: 103.4 kB / 0.7339 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.5136, allocations: 0 / 0.7339 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.04015/0.5537, allocations: 29.62 MB / 0.7628 GB, free: 2.02 MB / 0.5762 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)