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.001612/0.001612, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002247/0.002247, allocations: 198 kB / 16.14 MB, free: 6.688 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 64.75 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.328, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07173/0.3998, allocations: 70.1 MB / 1.136 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02786/0.4278, allocations: 19.01 MB / 1.155 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003858/0.4317, allocations: 67.56 kB / 1.155 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.4346, allocations: 0.6527 MB / 1.155 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008813/0.4435, allocations: 2.606 MB / 1.158 GB, free: 14.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004874/0.4484, allocations: 1.497 MB / 1.159 GB, free: 12.7 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007164/0.4555, allocations: 5.009 MB / 1.164 GB, free: 7.664 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.4576, allocations: 1.187 MB / 1.165 GB, free: 6.449 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003747/0.4613, allocations: 1.501 MB / 1.167 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.4633, allocations: 1.155 MB / 1.168 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.4635, allocations: 76 kB / 1.168 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.4666, allocations: 1.239 MB / 1.169 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.4669, allocations: 290.7 kB / 1.169 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009993/0.4679, allocations: 0.8238 MB / 1.17 GB, free: 1.352 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.4717, allocations: 3.019 MB / 1.173 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4718, allocations: 0 / 1.173 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4718, allocations: 0 / 1.173 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.4718, allocations: 0 / 1.173 GB, free: 14.32 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.003547/0.4753, allocations: 2.023 MB / 1.175 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.4754, allocations: 8.031 kB / 1.175 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.4777, allocations: 446.4 kB / 1.176 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.4804, allocations: 1.516 MB / 1.177 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003662/0.4807, allocations: 134 kB / 1.177 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.4809, allocations: 104 kB / 1.177 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/0.4834, allocations: 1.301 MB / 1.179 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.4834, allocations: 3.938 kB / 1.179 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.4835, allocations: 48 kB / 1.179 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.4836, allocations: 24 kB / 1.179 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.4862, allocations: 1.108 MB / 1.18 GB, free: 7.406 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.008357/0.4945, allocations: 7.133 MB / 1.187 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.4977, allocations: 0.794 MB / 1.187 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005948/0.4983, allocations: 293.9 kB / 1.188 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/0.4997, allocations: 1.726 MB / 1.189 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.4997, allocations: 42.94 kB / 1.189 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 2.535e-06/0.4997, allocations: 4 kB / 1.189 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004622/0.5043, allocations: 1.327 MB / 1.191 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.5044, allocations: 59.83 kB / 1.191 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.5066, allocations: 1.525 MB / 1.192 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.5067, allocations: 41.64 kB / 1.192 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005698/0.5073, allocations: 0.6653 MB / 1.193 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.5074, allocations: 169.6 kB / 1.193 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.5077, allocations: 166.5 kB / 1.193 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5078, allocations: 334 kB / 1.194 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009503/0.5088, allocations: 357.8 kB / 1.194 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.51, allocations: 0.6411 MB / 1.195 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.5117, allocations: 0.8521 MB / 1.195 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.5118, allocations: 0 / 1.195 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004178/0.5159, allocations: 1.329 MB / 1.197 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.516, allocations: 8 kB / 1.197 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.516, allocations: 8 kB / 1.197 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008614/0.5169, allocations: 221.2 kB / 1.197 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007341/0.5176, allocations: 191.7 kB / 1.197 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008643/0.5185, allocations: 0.7123 MB / 1.198 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.5201, allocations: 242.7 kB / 1.198 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.5202, allocations: 39.98 kB / 1.198 GB, free: 3.336 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.0007655/0.521, allocations: 357.6 kB / 1.198 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.5213, allocations: 146.2 kB / 1.199 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002583/0.5239, allocations: 1.14 MB / 1.2 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.5239, allocations: 8 kB / 1.2 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.5239, allocations: 7.938 kB / 1.2 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.524, allocations: 3.984 kB / 1.2 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005136/0.5291, allocations: 2.502 MB / 1.202 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.5291, allocations: 3.938 kB / 1.202 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.5295, allocations: 92.06 kB / 1.202 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008092/0.5303, allocations: 216.5 kB / 1.202 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.5304, allocations: 15.98 kB / 1.202 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.5316, allocations: 0.7709 MB / 1.203 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/0.5317, allocations: 3.938 kB / 1.203 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.535, allocations: 1.211 MB / 1.204 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006181/0.5356, allocations: 350.9 kB / 1.205 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.5359, allocations: 15.98 kB / 1.205 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.537, allocations: 91.81 kB / 1.205 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.5371, allocations: 44.44 kB / 1.205 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.279e-05/0.5372, allocations: 23.98 kB / 1.205 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002038/0.5392, allocations: 1.07 MB / 1.206 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5392, allocations: 0 / 1.206 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001583/0.5408, allocations: 439.4 kB / 1.206 GB, free: 10.66 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.001196/0.542, allocations: 475.2 kB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002273/0.5443, allocations: 0.8329 MB / 1.208 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5443, allocations: 0 / 1.208 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.5457, allocations: 439.5 kB / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/0.5491, allocations: 0.6883 MB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.5538, allocations: 2.737 MB / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008735/0.5546, allocations: 1.172 MB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001268/0.5559, allocations: 263.3 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.5562, allocations: 111.4 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of SimCode: time 1.222e-06/0.5563, allocations: 3.938 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of Templates: time 0.0536/0.6099, allocations: 30.05 MB / 1.242 GB, free: 6.168 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)