Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008634/0.0008633, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004936/0.004936, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.159/1.159, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.8519/0.8519, allocations: 143.2 MB / 434.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 8 kB / 0.5164 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1478, allocations: 83.4 MB / 0.5978 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3092/0.4571, allocations: 68.82 MB / 0.665 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02258/0.4797, allocations: 18.79 MB / 0.6834 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.482, allocations: 63.31 kB / 0.6834 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.4841, allocations: 0.6501 MB / 0.6841 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00767/0.4917, allocations: 2.606 MB / 0.6866 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.496, allocations: 1.492 MB / 0.6881 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006963/0.503, allocations: 5.018 MB / 0.693 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.5053, allocations: 1.155 MB / 0.6941 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003495/0.5088, allocations: 1.455 MB / 0.6955 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.5112, allocations: 1.109 MB / 0.6966 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.5115, allocations: 57.5 kB / 0.6967 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.5151, allocations: 1.221 MB / 0.6979 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003502/0.5154, allocations: 264.9 kB / 0.6981 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.5167, allocations: 0.8007 MB / 0.6989 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004585/0.5213, allocations: 3.114 MB / 0.7019 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5214, allocations: 0 / 0.7019 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.775e-06/0.5214, allocations: 1.125 kB / 0.7019 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.832e-05/0.5214, allocations: 4 kB / 0.7019 GB, free: 9.145 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003241/0.5247, allocations: 1.707 MB / 0.7036 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5247, allocations: 9.844 kB / 0.7036 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/0.5271, allocations: 0.5004 MB / 0.7041 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.5297, allocations: 1.524 MB / 0.7056 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003541/0.5301, allocations: 140.5 kB / 0.7057 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.5303, allocations: 105.8 kB / 0.7058 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/0.5329, allocations: 1.32 MB / 0.7071 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.533, allocations: 1.125 kB / 0.7071 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.5331, allocations: 42.94 kB / 0.7072 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.5331, allocations: 29.06 kB / 0.7072 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/0.5358, allocations: 1.163 MB / 0.7083 GB, free: 5.707 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.008677/0.5445, allocations: 7.191 MB / 0.7154 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/0.5478, allocations: 0.8958 MB / 0.7162 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006294/0.5484, allocations: 298.2 kB / 0.7165 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.5497, allocations: 1.726 MB / 0.7182 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.5497, allocations: 42.69 kB / 0.7182 GB, free: 12.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.886e-06/0.5497, allocations: 0 / 0.7182 GB, free: 12.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.00496/0.5547, allocations: 1.454 MB / 0.7197 GB, free: 11.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.5548, allocations: 57.25 kB / 0.7197 GB, free: 11.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.5573, allocations: 1.535 MB / 0.7212 GB, free: 10.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.411e-05/0.5574, allocations: 45.2 kB / 0.7213 GB, free: 10.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005448/0.5579, allocations: 0.6639 MB / 0.7219 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.5581, allocations: 172.5 kB / 0.7221 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/0.5582, allocations: 56.28 kB / 0.7221 GB, free: 10.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5583, allocations: 332.7 kB / 0.7224 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009422/0.5593, allocations: 386 kB / 0.7228 GB, free: 9.578 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.5605, allocations: 0.6684 MB / 0.7235 GB, free: 9.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.5622, allocations: 0.8865 MB / 0.7243 GB, free: 8.422 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.5622, allocations: 5.781 kB / 0.7243 GB, free: 8.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004475/0.5667, allocations: 1.432 MB / 0.7257 GB, free: 7.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.5667, allocations: 12.19 kB / 0.7257 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5667, allocations: 6.875 kB / 0.7257 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008789/0.5676, allocations: 229.5 kB / 0.726 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/0.5683, allocations: 198.5 kB / 0.7262 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008062/0.5692, allocations: 0.724 MB / 0.7269 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.5709, allocations: 268.6 kB / 0.7271 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/0.571, allocations: 43.98 kB / 0.7272 GB, free: 6.379 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006712/0.5717, allocations: 357.5 kB / 0.7275 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.5719, allocations: 146.2 kB / 0.7276 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.5742, allocations: 1.175 MB / 0.7288 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.5742, allocations: 8 kB / 0.7288 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.5742, allocations: 4.094 kB / 0.7288 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5742, allocations: 11.86 kB / 0.7288 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/0.5792, allocations: 2.594 MB / 0.7313 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.5793, allocations: 4 kB / 0.7313 GB, free: 2.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.5796, allocations: 87.88 kB / 0.7314 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000744/0.5803, allocations: 232.7 kB / 0.7317 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.5804, allocations: 16 kB / 0.7317 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.5816, allocations: 0.8021 MB / 0.7325 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5817, allocations: 4.031 kB / 0.7325 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/0.5851, allocations: 1.285 MB / 0.7337 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007146/0.5858, allocations: 378.8 kB / 0.7341 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.586, allocations: 16 kB / 0.7341 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009473/0.5869, allocations: 103.9 kB / 0.7342 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.587, allocations: 44.45 kB / 0.7342 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.596e-05/0.5871, allocations: 27.98 kB / 0.7343 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001763/0.5889, allocations: 1.09 MB / 0.7353 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5889, allocations: 0 / 0.7353 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001311/0.5902, allocations: 439.4 kB / 0.7357 GB, free: 13.42 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.0008536/0.591, allocations: 478.2 kB / 0.7362 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.5931, allocations: 0.878 MB / 0.7371 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5931, allocations: 0 / 0.7371 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.5943, allocations: 471.6 kB / 0.7375 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/0.5977, allocations: 0.7153 MB / 0.7382 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.6017, allocations: 2.781 MB / 0.7409 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.6024, allocations: 1.172 MB / 0.7421 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001004/0.6034, allocations: 264.7 kB / 0.7423 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.6037, allocations: 115.3 kB / 0.7424 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.6037, allocations: 0 / 0.7424 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of Templates: time 0.04905/0.6527, allocations: 30.82 MB / 0.7725 GB, free: 8.098 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)