Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.00128/0.001279, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 65.05 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.406, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07005/0.4761, allocations: 70.51 MB / 1.137 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02524/0.5013, allocations: 18.93 MB / 1.156 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003674/0.5051, allocations: 71.56 kB / 1.156 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.5083, allocations: 0.815 MB / 1.156 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008448/0.5168, allocations: 2.857 MB / 1.159 GB, free: 12.99 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0043/0.5211, allocations: 1.641 MB / 1.161 GB, free: 11.36 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006585/0.5278, allocations: 4.044 MB / 1.165 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003025/0.5308, allocations: 1.449 MB / 1.166 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005232/0.5361, allocations: 1.762 MB / 1.168 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002881/0.539, allocations: 1.179 MB / 1.169 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.5401, allocations: 172 kB / 1.169 GB, free: 2.695 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005532/0.5456, allocations: 1.419 MB / 1.171 GB, free: 1.273 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.5467, allocations: 390.6 kB / 1.171 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002945/0.5497, allocations: 0.9139 MB / 1.172 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007227/0.5569, allocations: 3.066 MB / 1.175 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.557, allocations: 0 / 1.175 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.204e-06/0.557, allocations: 0 / 1.175 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001155/0.5571, allocations: 0 / 1.175 GB, free: 12.9 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.005574/0.5627, allocations: 2.038 MB / 1.177 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5627, allocations: 8.031 kB / 1.177 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/0.5654, allocations: 446.4 kB / 1.177 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003358/0.5687, allocations: 1.489 MB / 1.179 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004399/0.5692, allocations: 142 kB / 1.179 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/0.5695, allocations: 104 kB / 1.179 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.5725, allocations: 1.317 MB / 1.18 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.5726, allocations: 3.938 kB / 1.18 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.5727, allocations: 44 kB / 1.18 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.5727, allocations: 32 kB / 1.18 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/0.5758, allocations: 1.116 MB / 1.181 GB, free: 5.945 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.009972/0.5857, allocations: 7.544 MB / 1.189 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/0.589, allocations: 0.8004 MB / 1.19 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000643/0.5897, allocations: 290 kB / 1.19 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.5911, allocations: 1.722 MB / 1.191 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.5911, allocations: 38.94 kB / 1.192 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 2.876e-06/0.5911, allocations: 8 kB / 1.192 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.005148/0.5963, allocations: 1.327 MB / 1.193 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.5964, allocations: 55.84 kB / 1.193 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/0.5996, allocations: 1.553 MB / 1.194 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.5997, allocations: 37.7 kB / 1.194 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006699/0.6004, allocations: 0.673 MB / 1.195 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.6006, allocations: 173.6 kB / 1.195 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/0.601, allocations: 174.4 kB / 1.195 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6011, allocations: 334 kB / 1.196 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.6022, allocations: 369.8 kB / 1.196 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.6035, allocations: 0.6662 MB / 1.197 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.6055, allocations: 0.8985 MB / 1.198 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.6055, allocations: 4 kB / 1.198 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003384/0.6089, allocations: 1.197 MB / 1.199 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.6089, allocations: 8 kB / 1.199 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.609, allocations: 8 kB / 1.199 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009856/0.61, allocations: 224.6 kB / 1.199 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.6108, allocations: 187.7 kB / 1.199 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009378/0.6117, allocations: 0.724 MB / 1.2 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.6136, allocations: 226.6 kB / 1.2 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.6137, allocations: 43.98 kB / 1.2 GB, free: 1.434 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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.0007407/0.6145, allocations: 361.6 kB / 1.201 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000456/0.6149, allocations: 146.2 kB / 1.201 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.6176, allocations: 1.137 MB / 1.202 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/0.6177, allocations: 8 kB / 1.202 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.6177, allocations: 0 / 1.202 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.6177, allocations: 3.984 kB / 1.202 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005885/0.6236, allocations: 2.514 MB / 1.204 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.6236, allocations: 4 kB / 1.204 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/0.624, allocations: 91.75 kB / 1.204 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008181/0.6249, allocations: 212.7 kB / 1.205 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.6249, allocations: 15.98 kB / 1.205 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.6263, allocations: 0.7708 MB / 1.205 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.6263, allocations: 8.016 kB / 1.205 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/0.6302, allocations: 1.191 MB / 1.206 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008708/0.6311, allocations: 358.9 kB / 1.207 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004502/0.6316, allocations: 15.94 kB / 1.207 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.6328, allocations: 75.92 kB / 1.207 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.6329, allocations: 44.44 kB / 1.207 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.633, allocations: 23.98 kB / 1.207 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00243/0.6354, allocations: 1.09 MB / 1.208 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.51e-07/0.6355, allocations: 0 / 1.208 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001905/0.6374, allocations: 439.4 kB / 1.208 GB, free: 8.762 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.001245/0.6386, allocations: 489 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002723/0.6414, allocations: 0.8833 MB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.6414, allocations: 0 / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.6428, allocations: 440 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/0.647, allocations: 0.7532 MB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/0.6523, allocations: 2.286 MB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.6534, allocations: 1.172 MB / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00152/0.6549, allocations: 271.7 kB / 1.215 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/0.6553, allocations: 119.3 kB / 1.215 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of SimCode: time 1.022e-06/0.6553, allocations: 0 / 1.215 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of Templates: time 0.05821/0.7135, allocations: 31.54 MB / 1.245 GB, free: 3.125 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)