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.00169/0.00169, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001831/0.001831, allocations: 187 kB / 17.34 MB, free: 5.762 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.17 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.868/0.868, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 68.86 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1636, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.4646/0.6283, allocations: 75.14 MB / 0.7497 GB, free: 27.26 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01933/0.6477, allocations: 12.75 MB / 0.7621 GB, free: 27.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003547/0.6513, allocations: 66.67 kB / 0.7622 GB, free: 27.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003017/0.6543, allocations: 0.8265 MB / 0.763 GB, free: 27.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009476/0.6639, allocations: 2.467 MB / 0.7654 GB, free: 27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004852/0.6688, allocations: 1.401 MB / 0.7668 GB, free: 26.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01048/0.6793, allocations: 4.393 MB / 0.7711 GB, free: 26.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003515/0.6828, allocations: 1.436 MB / 0.7725 GB, free: 26.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00523/0.6881, allocations: 1.661 MB / 0.7741 GB, free: 25.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003187/0.6913, allocations: 1.196 MB / 0.7752 GB, free: 24.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008042/0.6921, allocations: 163.4 kB / 0.7754 GB, free: 24.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005035/0.6972, allocations: 1.411 MB / 0.7768 GB, free: 24.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009105/0.6981, allocations: 395.6 kB / 0.7772 GB, free: 24.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002436/0.7006, allocations: 0.9056 MB / 0.778 GB, free: 23.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006918/0.7075, allocations: 3.018 MB / 0.781 GB, free: 22.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.7075, allocations: 0 / 0.781 GB, free: 22.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.046e-06/0.7076, allocations: 1.062 kB / 0.781 GB, free: 22.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001012/0.7077, allocations: 0 / 0.781 GB, free: 22.64 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.006123/0.7138, allocations: 2.084 MB / 0.783 GB, free: 21.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7138, allocations: 9.531 kB / 0.783 GB, free: 21.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.7151, allocations: 231.1 kB / 0.7833 GB, free: 21.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/0.7186, allocations: 1.533 MB / 0.7848 GB, free: 20.31 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.998e-05/0.7187, allocations: 79.25 kB / 0.7848 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000255/0.7189, allocations: 100.8 kB / 0.7849 GB, free: 20.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.7214, allocations: 1.099 MB / 0.786 GB, free: 19.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.7215, allocations: 1.375 kB / 0.786 GB, free: 19.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.7216, allocations: 41.62 kB / 0.786 GB, free: 19.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/0.7217, allocations: 24.75 kB / 0.7861 GB, free: 19.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.7238, allocations: 0.8886 MB / 0.7869 GB, free: 19.42 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.006824/0.7306, allocations: 4.913 MB / 0.7917 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.7319, allocations: 0.6305 MB / 0.7923 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006353/0.7326, allocations: 352.5 kB / 0.7927 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004824/0.7331, allocations: 0.8293 MB / 0.7935 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.7331, allocations: 40.25 kB / 0.7935 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.835e-06/0.7331, allocations: 0 / 0.7935 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007138/0.7403, allocations: 1.674 MB / 0.7952 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.7403, allocations: 61.34 kB / 0.7952 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.7424, allocations: 1.228 MB / 0.7964 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.7426, allocations: 45.17 kB / 0.7965 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/0.743, allocations: 0.6055 MB / 0.7971 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.7432, allocations: 211.7 kB / 0.7973 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.7435, allocations: 159 kB / 0.7974 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.307e-05/0.7436, allocations: 334.4 kB / 0.7977 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/0.7442, allocations: 290.4 kB / 0.798 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007344/0.7449, allocations: 492.1 kB / 0.7985 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.7462, allocations: 0.7049 MB / 0.7992 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.7462, allocations: 5.547 kB / 0.7992 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004598/0.7509, allocations: 1.271 MB / 0.8004 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.7509, allocations: 8.156 kB / 0.8004 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7509, allocations: 8.641 kB / 0.8004 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006028/0.7515, allocations: 137.5 kB / 0.8006 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/0.7522, allocations: 161.1 kB / 0.8007 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007227/0.7529, allocations: 0.694 MB / 0.8014 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.7543, allocations: 122.9 kB / 0.8015 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.7544, allocations: 33.2 kB / 0.8015 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001076/0.7555, allocations: 0.5481 MB / 0.8021 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007303/0.7562, allocations: 498.9 kB / 0.8025 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001239/0.7575, allocations: 0.7112 MB / 0.8032 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.648e-06/0.7575, allocations: 0 / 0.8032 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004632/0.7621, allocations: 1.254 MB / 0.8045 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.7622, allocations: 11.41 kB / 0.8045 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7622, allocations: 4.5 kB / 0.8045 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005006/0.7627, allocations: 135.4 kB / 0.8046 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.7633, allocations: 158.5 kB / 0.8048 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000664/0.764, allocations: 0.6974 MB / 0.8054 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.7654, allocations: 97.39 kB / 0.8055 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.7655, allocations: 30.45 kB / 0.8056 GB, free: 6.285 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.0002699/0.7658, allocations: 229.1 kB / 0.8058 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004803/0.7663, allocations: 135.6 kB / 0.8059 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/0.7707, allocations: 1.265 MB / 0.8071 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.7707, allocations: 12.47 kB / 0.8072 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.7708, allocations: 0 / 0.8072 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003827/0.7746, allocations: 1.098 MB / 0.8082 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006558/0.7812, allocations: 2.627 MB / 0.8108 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.7812, allocations: 8 kB / 0.8108 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.7817, allocations: 111.8 kB / 0.8109 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/0.7822, allocations: 129.2 kB / 0.811 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/0.7822, allocations: 20 kB / 0.8111 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004549/0.7868, allocations: 2.583 MB / 0.8136 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.7868, allocations: 9.344 kB / 0.8136 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005463/0.7923, allocations: 1.707 MB / 0.8153 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008146/0.7931, allocations: 311.2 kB / 0.8156 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/0.7936, allocations: 16 kB / 0.8156 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.7947, allocations: 55.92 kB / 0.8156 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.7949, allocations: 60.31 kB / 0.8157 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-05/0.795, allocations: 31.97 kB / 0.8157 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001592/0.7966, allocations: 0.8777 MB / 0.8166 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7966, allocations: 0 / 0.8166 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002641/0.7992, allocations: 0.7174 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.00117/0.8004, allocations: 471.2 kB / 0.8177 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002762/0.8032, allocations: 1.117 MB / 0.8188 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.8032, allocations: 4.188 kB / 0.8188 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.8047, allocations: 0.5563 MB / 0.8194 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004114/0.8088, allocations: 0.7996 MB / 0.8201 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.8132, allocations: 2.295 MB / 0.8224 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008686/0.8141, allocations: 1.16 MB / 0.8235 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.8145, allocations: 119.4 kB / 0.8236 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.8145, allocations: 0 / 0.8236 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of Templates: time 0.04453/0.859, allocations: 31.74 MB / 0.8546 GB, free: 5.09 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)