Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.0008466/0.0008466, allocations: 98.03 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.007321/0.007321, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.495/1.495, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.028/3.028, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003738, allocations: 10.34 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3521, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06848/0.4207, allocations: 68.89 MB / 1.141 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02482/0.4455, allocations: 18.8 MB / 1.16 GB, free: 15.6 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00294/0.4485, allocations: 59.62 kB / 1.16 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.4507, allocations: 0.6488 MB / 1.16 GB, free: 14.89 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008818/0.4596, allocations: 2.61 MB / 1.163 GB, free: 12.27 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.4643, allocations: 1.488 MB / 1.164 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007548/0.4719, allocations: 5.013 MB / 1.169 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.4742, allocations: 1.148 MB / 1.17 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.4779, allocations: 1.45 MB / 1.172 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.4798, allocations: 1.108 MB / 1.173 GB, free: 2 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.4799, allocations: 56 kB / 1.173 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002924/0.4829, allocations: 1.22 MB / 1.174 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003586/0.4832, allocations: 266.6 kB / 1.174 GB, free: 472 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.4846, allocations: 0.7983 MB / 1.175 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004734/0.4893, allocations: 2.952 MB / 1.178 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4894, allocations: 3.938 kB / 1.178 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4894, allocations: 0 / 1.178 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.747e-05/0.4894, allocations: 4 kB / 1.178 GB, free: 12.68 MB / 0.9356 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.003044/0.4925, allocations: 1.707 MB / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4925, allocations: 8.031 kB / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.4949, allocations: 0.5023 MB / 1.18 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/0.4977, allocations: 1.508 MB / 1.182 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000416/0.4982, allocations: 146 kB / 1.182 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.4983, allocations: 100 kB / 1.182 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.501, allocations: 1.325 MB / 1.183 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.5011, allocations: 0 / 1.183 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.5012, allocations: 47.98 kB / 1.183 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.5012, allocations: 24 kB / 1.183 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002851/0.5041, allocations: 1.167 MB / 1.184 GB, free: 5.941 MB / 0.9356 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.008674/0.5128, allocations: 7.188 MB / 1.192 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003441/0.5162, allocations: 0.8933 MB / 1.192 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006808/0.5169, allocations: 302 kB / 1.193 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.5182, allocations: 1.722 MB / 1.194 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.5183, allocations: 38.94 kB / 1.194 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 2.855e-06/0.5183, allocations: 0 / 1.194 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.005251/0.5235, allocations: 1.452 MB / 1.196 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.5236, allocations: 59.83 kB / 1.196 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.5262, allocations: 1.537 MB / 1.197 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.5264, allocations: 41.7 kB / 1.197 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006074/0.527, allocations: 0.6613 MB / 1.198 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.5272, allocations: 173.6 kB / 1.198 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.5273, allocations: 57.69 kB / 1.198 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5274, allocations: 330 kB / 1.199 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.5285, allocations: 393.7 kB / 1.199 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.5298, allocations: 0.6684 MB / 1.2 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.5318, allocations: 0.8913 MB / 1.2 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.5318, allocations: 0 / 1.2 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005049/0.5368, allocations: 1.442 MB / 1.202 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.5369, allocations: 8 kB / 1.202 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.537, allocations: 11.94 kB / 1.202 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.538, allocations: 233.3 kB / 1.202 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008123/0.5388, allocations: 199.7 kB / 1.202 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.5398, allocations: 0.7202 MB / 1.203 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.5419, allocations: 266.7 kB / 1.203 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.542, allocations: 39.98 kB / 1.203 GB, free: 1.426 MB / 0.9512 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.0007497/0.5427, allocations: 362.2 kB / 1.204 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.543, allocations: 146.2 kB / 1.204 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.5456, allocations: 1.172 MB / 1.205 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.5456, allocations: 8 kB / 1.205 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5456, allocations: 7.938 kB / 1.205 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.5456, allocations: 3.984 kB / 1.205 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005448/0.5511, allocations: 2.592 MB / 1.208 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.5511, allocations: 4 kB / 1.208 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.5515, allocations: 87.88 kB / 1.208 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008403/0.5524, allocations: 232.7 kB / 1.208 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.5524, allocations: 19.98 kB / 1.208 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.5538, allocations: 0.7982 MB / 1.209 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5538, allocations: 4.219 kB / 1.209 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/0.5576, allocations: 1.281 MB / 1.21 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006897/0.5583, allocations: 378.8 kB / 1.21 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.5584, allocations: 12 kB / 1.21 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.5595, allocations: 111.8 kB / 1.21 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.5596, allocations: 44.39 kB / 1.21 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.5596, allocations: 27.98 kB / 1.21 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001878/0.5615, allocations: 1.09 MB / 1.211 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5615, allocations: 0 / 1.211 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001317/0.5628, allocations: 431.4 kB / 1.212 GB, free: 8.453 MB / 0.9669 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.0008906/0.5637, allocations: 464 kB / 1.212 GB, free: 8 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002297/0.5661, allocations: 0.8798 MB / 1.213 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5661, allocations: 0 / 1.213 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.5675, allocations: 483.5 kB / 1.214 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/0.5713, allocations: 0.7117 MB / 1.214 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.5765, allocations: 2.778 MB / 1.217 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009231/0.5775, allocations: 1.172 MB / 1.218 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001386/0.5789, allocations: 259.2 kB / 1.218 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.5792, allocations: 115.3 kB / 1.219 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of SimCode: time 9.42e-07/0.5792, allocations: 0 / 1.219 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of Templates: time 0.05541/0.6346, allocations: 30.46 MB / 1.248 GB, free: 3.41 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)