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.001319/0.001319, allocations: 104.1 kB / 16.41 MB, free: 6.461 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.001471/0.001471, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.8095/0.8095, allocations: 143.1 MB / 434.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.47 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1436, allocations: 82.04 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.3896/0.5333, allocations: 75.15 MB / 0.7497 GB, free: 27.24 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.5493, allocations: 12.76 MB / 0.7621 GB, free: 27.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.5521, allocations: 66 kB / 0.7622 GB, free: 27.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.5544, allocations: 0.8295 MB / 0.763 GB, free: 27.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007544/0.562, allocations: 2.464 MB / 0.7654 GB, free: 26.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004142/0.5662, allocations: 1.387 MB / 0.7668 GB, free: 26.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007671/0.5739, allocations: 4.391 MB / 0.7711 GB, free: 26.47 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.5768, allocations: 1.438 MB / 0.7725 GB, free: 26.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004352/0.5811, allocations: 1.663 MB / 0.7741 GB, free: 25.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/0.5832, allocations: 1.197 MB / 0.7753 GB, free: 24.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002954/0.5835, allocations: 162.7 kB / 0.7754 GB, free: 24.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.587, allocations: 1.403 MB / 0.7768 GB, free: 24.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003983/0.5874, allocations: 400.6 kB / 0.7772 GB, free: 24.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.5887, allocations: 0.8985 MB / 0.778 GB, free: 23.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005363/0.594, allocations: 3.019 MB / 0.781 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5941, allocations: 0 / 0.781 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5941, allocations: 1.406 kB / 0.781 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.26e-05/0.5941, allocations: 3.938 kB / 0.781 GB, free: 22.61 MB / 0.5762 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.003954/0.5981, allocations: 2.088 MB / 0.783 GB, free: 21.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5981, allocations: 9.031 kB / 0.783 GB, free: 21.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008924/0.599, allocations: 231.9 kB / 0.7833 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.6017, allocations: 1.53 MB / 0.7848 GB, free: 20.28 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.618e-05/0.6017, allocations: 76.09 kB / 0.7848 GB, free: 20.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.6019, allocations: 102 kB / 0.7849 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.604, allocations: 1.097 MB / 0.786 GB, free: 19.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.6041, allocations: 2.281 kB / 0.786 GB, free: 19.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.894e-05/0.6042, allocations: 40.88 kB / 0.786 GB, free: 19.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.6042, allocations: 25 kB / 0.7861 GB, free: 19.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.606, allocations: 0.8886 MB / 0.7869 GB, free: 19.39 MB / 0.5762 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.005905/0.6119, allocations: 4.922 MB / 0.7917 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.6132, allocations: 0.6161 MB / 0.7923 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005845/0.6138, allocations: 354.7 kB / 0.7927 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004206/0.6142, allocations: 0.8299 MB / 0.7935 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.6143, allocations: 41.16 kB / 0.7935 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.585e-06/0.6143, allocations: 0 / 0.7935 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006729/0.621, allocations: 1.678 MB / 0.7952 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.6211, allocations: 58.47 kB / 0.7952 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.6227, allocations: 1.228 MB / 0.7964 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.6229, allocations: 42.42 kB / 0.7965 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.6232, allocations: 0.5995 MB / 0.797 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.6234, allocations: 219.1 kB / 0.7973 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.6236, allocations: 154.8 kB / 0.7974 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.592e-05/0.6237, allocations: 332.5 kB / 0.7977 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005795/0.6243, allocations: 295.1 kB / 0.798 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006825/0.625, allocations: 491.5 kB / 0.7985 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.6261, allocations: 0.7153 MB / 0.7992 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6261, allocations: 0 / 0.7992 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004505/0.6307, allocations: 1.272 MB / 0.8004 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.6307, allocations: 9.766 kB / 0.8004 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.6307, allocations: 5.438 kB / 0.8004 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005942/0.6313, allocations: 135.9 kB / 0.8006 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/0.6319, allocations: 171.8 kB / 0.8007 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006643/0.6326, allocations: 0.6882 MB / 0.8014 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.6341, allocations: 108.9 kB / 0.8015 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.6342, allocations: 40.67 kB / 0.8015 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001299/0.6355, allocations: 0.5531 MB / 0.8021 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00078/0.6363, allocations: 499.1 kB / 0.8025 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001273/0.6376, allocations: 0.7076 MB / 0.8032 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.486e-06/0.6376, allocations: 0 / 0.8032 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00467/0.6423, allocations: 1.258 MB / 0.8045 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6423, allocations: 11.95 kB / 0.8045 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6423, allocations: 6.828 kB / 0.8045 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005028/0.6428, allocations: 137.4 kB / 0.8046 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/0.6434, allocations: 157.7 kB / 0.8048 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006371/0.6441, allocations: 0.6954 MB / 0.8054 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.6455, allocations: 103.1 kB / 0.8055 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/0.6455, allocations: 26.56 kB / 0.8056 GB, free: 6.27 MB / 0.5762 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.0002645/0.6458, allocations: 224.1 kB / 0.8058 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003377/0.6462, allocations: 140.2 kB / 0.8059 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/0.6504, allocations: 1.27 MB / 0.8072 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.6505, allocations: 5.062 kB / 0.8072 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6505, allocations: 2.594 kB / 0.8072 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00378/0.6543, allocations: 1.103 MB / 0.8082 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006405/0.6607, allocations: 2.621 MB / 0.8108 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.6608, allocations: 4 kB / 0.8108 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.6612, allocations: 116.3 kB / 0.8109 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.6617, allocations: 132.6 kB / 0.811 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.6617, allocations: 20 kB / 0.8111 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004354/0.6661, allocations: 2.592 MB / 0.8136 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.6661, allocations: 4 kB / 0.8136 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005391/0.6715, allocations: 1.699 MB / 0.8153 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008631/0.6724, allocations: 307.2 kB / 0.8155 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.6726, allocations: 19.98 kB / 0.8156 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008285/0.6735, allocations: 55.94 kB / 0.8156 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.6736, allocations: 60.31 kB / 0.8157 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/0.6737, allocations: 31.97 kB / 0.8157 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001315/0.675, allocations: 0.8855 MB / 0.8166 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.675, allocations: 0 / 0.8166 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00218/0.6772, allocations: 0.7135 MB / 0.8173 GB, free: 11.17 MB / 0.5919 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.0009399/0.6782, allocations: 469.4 kB / 0.8177 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002585/0.6808, allocations: 1.121 MB / 0.8188 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.6808, allocations: 0 / 0.8188 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.6822, allocations: 0.5603 MB / 0.8194 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/0.6858, allocations: 0.7938 MB / 0.8201 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.6897, allocations: 2.288 MB / 0.8224 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006981/0.6905, allocations: 1.172 MB / 0.8235 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.6909, allocations: 115.3 kB / 0.8236 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of SimCode: time 1.453e-06/0.6909, allocations: 0 / 0.8236 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of Templates: time 0.04139/0.7323, allocations: 31.55 MB / 0.8544 GB, free: 5.285 MB / 0.6231 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)