Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.000878/0.0008782, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001075/0.001076, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.659/1.659, allocations: 252 MB / 0.5102 GB, free: 4.82 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005591/0.0005593, allocations: 12 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6153/0.6158, allocations: 106.3 MB / 0.7281 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06519/0.6811, allocations: 65.12 MB / 0.7917 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02589/0.7071, allocations: 17.57 MB / 0.8089 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003379/0.7105, allocations: 59.62 kB / 0.8089 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002698/0.7133, allocations: 0.516 MB / 0.8094 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009043/0.7223, allocations: 2.087 MB / 0.8115 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005408/0.7278, allocations: 1.102 MB / 0.8125 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008184/0.736, allocations: 4.377 MB / 0.8168 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002627/0.7386, allocations: 1.018 MB / 0.8178 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004414/0.7431, allocations: 1.334 MB / 0.8191 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.746, allocations: 1.042 MB / 0.8201 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.7464, allocations: 56 kB / 0.8202 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.7495, allocations: 0.9043 MB / 0.8211 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003389/0.7498, allocations: 246.8 kB / 0.8213 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008306/0.7507, allocations: 372.9 kB / 0.8217 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.7543, allocations: 2.291 MB / 0.8239 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.7543, allocations: 4 kB / 0.8239 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.356e-06/0.7543, allocations: 3.938 kB / 0.8239 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.947e-05/0.7544, allocations: 4 kB / 0.8239 GB, free: 9.211 MB / 0.6387 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.004368/0.7587, allocations: 1.719 MB / 0.8256 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.7588, allocations: 8.031 kB / 0.8256 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.761, allocations: 0.5014 MB / 0.8261 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.7641, allocations: 1.47 MB / 0.8275 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/0.7645, allocations: 142 kB / 0.8277 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.7646, allocations: 108 kB / 0.8278 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/0.7674, allocations: 1.315 MB / 0.829 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.7674, allocations: 7.938 kB / 0.8291 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.7675, allocations: 43.98 kB / 0.8291 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/0.7676, allocations: 28 kB / 0.8291 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.7703, allocations: 1.163 MB / 0.8303 GB, free: 2.5 MB / 0.6387 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.009233/0.7795, allocations: 6.929 MB / 0.837 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/0.7834, allocations: 0.9304 MB / 0.8379 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006472/0.784, allocations: 310 kB / 0.8382 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/0.7857, allocations: 1.726 MB / 0.8399 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/0.7857, allocations: 50.94 kB / 0.84 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=52): time 2.905e-06/0.7857, allocations: 0 / 0.84 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=52): time 0.005053/0.7908, allocations: 1.487 MB / 0.8414 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.7909, allocations: 55.84 kB / 0.8415 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/0.7938, allocations: 1.529 MB / 0.843 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.794, allocations: 37.7 kB / 0.843 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005996/0.7946, allocations: 0.6576 MB / 0.8436 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002324/0.7948, allocations: 185.3 kB / 0.8438 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.7949, allocations: 16 kB / 0.8438 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.7951, allocations: 333.9 kB / 0.8441 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000991/0.7961, allocations: 405.8 kB / 0.8445 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.7973, allocations: 0.6767 MB / 0.8452 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.7986, allocations: 457.9 kB / 0.8456 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.7986, allocations: 0 / 0.8456 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003072/0.8017, allocations: 1.248 MB / 0.8469 GB, free: 452 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.8017, allocations: 12 kB / 0.8469 GB, free: 440 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.8018, allocations: 8 kB / 0.8469 GB, free: 432 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008972/0.8027, allocations: 228.6 kB / 0.8471 GB, free: 200 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007806/0.8035, allocations: 203.7 kB / 0.8473 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008435/0.8043, allocations: 0.7317 MB / 0.848 GB, free: 15.24 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.8061, allocations: 262.7 kB / 0.8482 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.8062, allocations: 43.98 kB / 0.8483 GB, free: 14.94 MB / 0.67 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 (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0007354/0.807, allocations: 357.6 kB / 0.8486 GB, free: 14.58 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.8072, allocations: 142.2 kB / 0.8488 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.8097, allocations: 1.227 MB / 0.85 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.8098, allocations: 4 kB / 0.85 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.8098, allocations: 96 / 0.85 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.8098, allocations: 11.92 kB / 0.85 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005118/0.8149, allocations: 2.654 MB / 0.8526 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.815, allocations: 0 / 0.8526 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.8154, allocations: 104 kB / 0.8527 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007367/0.8161, allocations: 220.6 kB / 0.8529 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.8162, allocations: 19.98 kB / 0.8529 GB, free: 10.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.8174, allocations: 0.8021 MB / 0.8537 GB, free: 9.273 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8174, allocations: 0 / 0.8537 GB, free: 9.273 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003539/0.821, allocations: 1.324 MB / 0.855 GB, free: 7.91 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008795/0.8219, allocations: 378.8 kB / 0.8553 GB, free: 7.52 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.8221, allocations: 16 kB / 0.8554 GB, free: 7.504 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008768/0.823, allocations: 111.8 kB / 0.8555 GB, free: 7.395 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.433e-05/0.8231, allocations: 44.5 kB / 0.8555 GB, free: 7.352 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.474e-05/0.8231, allocations: 27.98 kB / 0.8555 GB, free: 7.324 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00183/0.825, allocations: 1.066 MB / 0.8566 GB, free: 6.262 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/0.825, allocations: 4 kB / 0.8566 GB, free: 6.258 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001415/0.8264, allocations: 431.4 kB / 0.857 GB, free: 5.836 MB / 0.67 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 (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.000925/0.8273, allocations: 440.5 kB / 0.8574 GB, free: 5.402 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002259/0.8296, allocations: 0.8952 MB / 0.8583 GB, free: 4.504 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8296, allocations: 0 / 0.8583 GB, free: 4.504 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.8308, allocations: 499.6 kB / 0.8588 GB, free: 4.016 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.834, allocations: 0.7334 MB / 0.8595 GB, free: 3.297 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/0.8389, allocations: 2.734 MB / 0.8621 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008373/0.8398, allocations: 1.176 MB / 0.8633 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001505/0.8413, allocations: 276.1 kB / 0.8636 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.8416, allocations: 115.4 kB / 0.8637 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of SimCode: time 9.51e-07/0.8416, allocations: 0 / 0.8637 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of Templates: time 0.05712/0.8987, allocations: 29.53 MB / 0.8925 GB, free: 1.758 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) Environment - environmentSimulation: