Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 103.7 kB / 16.4 MB, free: 5.977 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.001364/0.001364, allocations: 190.8 kB / 17.34 MB, free: 5.586 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.09 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.8842/0.8842, allocations: 143 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.95 kB / 0.5962 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1513, allocations: 82.03 MB / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.06185/0.2132, allocations: 61.16 MB / 0.736 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01718/0.2304, allocations: 12.01 MB / 0.7477 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.2326, allocations: 55.69 kB / 0.7478 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.2349, allocations: 0.6791 MB / 0.7485 GB, free: 308 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3432/0.5781, allocations: 1.957 MB / 0.7504 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.5814, allocations: 1.205 MB / 0.7515 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004962/0.5863, allocations: 3.081 MB / 0.7545 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.5883, allocations: 1.096 MB / 0.7556 GB, free: 19.1 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004024/0.5923, allocations: 1.359 MB / 0.7569 GB, free: 19.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.5947, allocations: 0.8943 MB / 0.7578 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004021/0.5951, allocations: 114.3 kB / 0.7579 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/0.5992, allocations: 1.452 MB / 0.7593 GB, free: 18.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005132/0.5997, allocations: 291.4 kB / 0.7596 GB, free: 18.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.6012, allocations: 0.693 MB / 0.7603 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005214/0.6065, allocations: 2.403 MB / 0.7626 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.6065, allocations: 1.547 kB / 0.7626 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6065, allocations: 0 / 0.7626 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.379e-05/0.6066, allocations: 0 / 0.7626 GB, free: 18.41 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00454/0.6111, allocations: 1.727 MB / 0.7643 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.6112, allocations: 9.094 kB / 0.7643 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/0.6136, allocations: 409.7 kB / 0.7647 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.6162, allocations: 1.16 MB / 0.7659 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.6163, allocations: 69.12 kB / 0.7659 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.6165, allocations: 78.77 kB / 0.766 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.6187, allocations: 1.004 MB / 0.767 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.6187, allocations: 5.219 kB / 0.767 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.544e-05/0.6188, allocations: 32.09 kB / 0.767 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.6188, allocations: 18.12 kB / 0.767 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.6211, allocations: 0.8545 MB / 0.7679 GB, free: 16.77 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.006549/0.6277, allocations: 5.214 MB / 0.773 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003512/0.6313, allocations: 0.7943 MB / 0.7737 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006976/0.632, allocations: 301.6 kB / 0.774 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004795/0.6325, allocations: 0.8986 MB / 0.7749 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.6325, allocations: 40.47 kB / 0.7749 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.525e-06/0.6325, allocations: 0 / 0.7749 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007218/0.6397, allocations: 1.692 MB / 0.7766 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.6398, allocations: 55.72 kB / 0.7767 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.6416, allocations: 1.074 MB / 0.7777 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.6417, allocations: 42.91 kB / 0.7777 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.6421, allocations: 0.5287 MB / 0.7783 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.6423, allocations: 155.4 kB / 0.7784 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.6425, allocations: 134.2 kB / 0.7785 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.6426, allocations: 331.4 kB / 0.7789 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008721/0.6435, allocations: 306.1 kB / 0.7791 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.6445, allocations: 0.5298 MB / 0.7797 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.6462, allocations: 0.7101 MB / 0.7804 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.6462, allocations: 5.125 kB / 0.7804 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002811/0.649, allocations: 1.009 MB / 0.7813 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.6491, allocations: 7.156 kB / 0.7814 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.6491, allocations: 5 kB / 0.7814 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.6504, allocations: 312.1 kB / 0.7817 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.651, allocations: 133.4 kB / 0.7818 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.6524, allocations: 0.9019 MB / 0.7827 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.6539, allocations: 154.3 kB / 0.7828 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.423e-05/0.654, allocations: 31.27 kB / 0.7828 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001361/0.6554, allocations: 0.5057 MB / 0.7833 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009886/0.6564, allocations: 0.527 MB / 0.7838 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001512/0.6579, allocations: 0.6994 MB / 0.7845 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.6579, allocations: 0 / 0.7845 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002688/0.6606, allocations: 1.009 MB / 0.7855 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6606, allocations: 7.219 kB / 0.7855 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6606, allocations: 10.25 kB / 0.7855 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.6617, allocations: 298.7 kB / 0.7858 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/0.6623, allocations: 129.9 kB / 0.7859 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.6636, allocations: 0.887 MB / 0.7868 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.665, allocations: 136.4 kB / 0.7869 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/0.6651, allocations: 29.8 kB / 0.787 GB, free: 8.547 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.6654, allocations: 222.4 kB / 0.7872 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.6656, allocations: 111.6 kB / 0.7873 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.668, allocations: 0.9132 MB / 0.7882 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.668, allocations: 6.5 kB / 0.7882 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.668, allocations: 7.938 kB / 0.7882 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.6681, allocations: 3 kB / 0.7882 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00501/0.6731, allocations: 2.149 MB / 0.7903 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.6731, allocations: 3 kB / 0.7903 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.6734, allocations: 63.55 kB / 0.7904 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009307/0.6743, allocations: 284.8 kB / 0.7906 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.6744, allocations: 15 kB / 0.7906 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.6756, allocations: 0.9356 MB / 0.7916 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6756, allocations: 8.406 kB / 0.7916 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003545/0.6792, allocations: 1.154 MB / 0.7927 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006233/0.6798, allocations: 265.5 kB / 0.7929 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/0.6802, allocations: 11.28 kB / 0.793 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008721/0.6811, allocations: 72.97 kB / 0.793 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.6812, allocations: 39.3 kB / 0.7931 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/0.6812, allocations: 24.61 kB / 0.7931 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001141/0.6824, allocations: 0.7569 MB / 0.7938 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6824, allocations: 7.125 kB / 0.7938 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001827/0.6842, allocations: 0.5545 MB / 0.7944 GB, free: 4.449 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008534/0.6851, allocations: 398.7 kB / 0.7948 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002984/0.6881, allocations: 1.121 MB / 0.7958 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.6881, allocations: 0 / 0.7958 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007918/0.6889, allocations: 346.1 kB / 0.7962 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.6915, allocations: 0.5075 MB / 0.7967 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.6966, allocations: 2.055 MB / 0.7987 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.6971, allocations: 1.058 MB / 0.7997 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/0.6974, allocations: 86.5 kB / 0.7998 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.6975, allocations: 0 / 0.7998 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of Templates: time 0.03248/0.7299, allocations: 24.32 MB / 0.8235 GB, free: 10.59 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)