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.001552/0.001552, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002124/0.002124, allocations: 194.1 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 222 MB, free: 4.957 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.55/1.55, allocations: 251.6 MB / 0.5088 GB, free: 3.352 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.001316/0.001316, allocations: 67.91 kB / 0.6216 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6196/0.6209, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06963/0.6906, allocations: 70.1 MB / 0.7923 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02788/0.7185, allocations: 18.87 MB / 0.8107 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/0.7223, allocations: 63.56 kB / 0.8107 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003926/0.7263, allocations: 0.6527 MB / 0.8114 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.7374, allocations: 2.59 MB / 0.8139 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005534/0.7429, allocations: 1.51 MB / 0.8154 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007836/0.7508, allocations: 5.012 MB / 0.8203 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003467/0.7543, allocations: 1.183 MB / 0.8214 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005106/0.7594, allocations: 1.482 MB / 0.8229 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003336/0.7628, allocations: 1.163 MB / 0.824 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008001/0.7636, allocations: 76 kB / 0.8241 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004643/0.7683, allocations: 1.212 MB / 0.8253 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008048/0.7691, allocations: 298.6 kB / 0.8256 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00236/0.7715, allocations: 0.82 MB / 0.8264 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008299/0.7798, allocations: 3.023 MB / 0.8293 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.7799, allocations: 0 / 0.8293 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7799, allocations: 0 / 0.8293 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001369/0.7801, allocations: 0 / 0.8293 GB, free: 0.7188 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.007297/0.7874, allocations: 2.046 MB / 0.8313 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.7874, allocations: 8.031 kB / 0.8313 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/0.7902, allocations: 442.5 kB / 0.8317 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004399/0.7946, allocations: 1.52 MB / 0.8332 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000421/0.7951, allocations: 130 kB / 0.8333 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.7955, allocations: 108 kB / 0.8334 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002941/0.7984, allocations: 1.292 MB / 0.8347 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.7985, allocations: 0 / 0.8347 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.7986, allocations: 44 kB / 0.8348 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.7986, allocations: 24 kB / 0.8348 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002758/0.8014, allocations: 1.12 MB / 0.8359 GB, free: 9.781 MB / 0.6544 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.0106/0.812, allocations: 6.894 MB / 0.8426 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.8151, allocations: 0.8505 MB / 0.8434 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.8158, allocations: 294 kB / 0.8437 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/0.8174, allocations: 1.726 MB / 0.8454 GB, free: 15.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.8175, allocations: 39 kB / 0.8454 GB, free: 15.13 MB / 0.67 GB Notification: Performance of pre-optimization done (n=52): time 3.256e-06/0.8175, allocations: 0 / 0.8454 GB, free: 15.13 MB / 0.67 GB Notification: Performance of matching and sorting (n=52): time 0.00512/0.8226, allocations: 1.381 MB / 0.8468 GB, free: 13.71 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.8227, allocations: 59.78 kB / 0.8468 GB, free: 13.64 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002967/0.8257, allocations: 1.525 MB / 0.8483 GB, free: 12.11 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002017/0.8259, allocations: 37.7 kB / 0.8484 GB, free: 12.07 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007135/0.8266, allocations: 0.6653 MB / 0.849 GB, free: 11.39 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.8268, allocations: 181.5 kB / 0.8492 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002925/0.8271, allocations: 170.5 kB / 0.8494 GB, free: 11.04 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.8272, allocations: 333.9 kB / 0.8497 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009656/0.8282, allocations: 377.8 kB / 0.85 GB, free: 10.34 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.8294, allocations: 0.651 MB / 0.8507 GB, free: 9.574 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.8312, allocations: 0.8795 MB / 0.8515 GB, free: 8.605 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.8312, allocations: 0 / 0.8515 GB, free: 8.605 MB / 0.67 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004515/0.8357, allocations: 1.365 MB / 0.8529 GB, free: 7.23 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.8358, allocations: 8 kB / 0.8529 GB, free: 7.223 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.8358, allocations: 12.03 kB / 0.8529 GB, free: 7.211 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009645/0.8368, allocations: 220.5 kB / 0.8531 GB, free: 6.992 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007911/0.8376, allocations: 195.7 kB / 0.8533 GB, free: 6.801 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000948/0.8385, allocations: 0.7162 MB / 0.854 GB, free: 6.059 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.8406, allocations: 238.7 kB / 0.8542 GB, free: 5.824 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.8408, allocations: 43.97 kB / 0.8542 GB, free: 5.781 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 (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.0008171/0.8416, allocations: 356 kB / 0.8546 GB, free: 5.426 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/0.842, allocations: 154.1 kB / 0.8547 GB, free: 5.273 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.8445, allocations: 1.186 MB / 0.8559 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.8446, allocations: 11.94 kB / 0.8559 GB, free: 4.055 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.8446, allocations: 0 / 0.8559 GB, free: 4.055 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.8446, allocations: 3.984 kB / 0.8559 GB, free: 4.051 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005642/0.8503, allocations: 2.576 MB / 0.8584 GB, free: 1.391 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.8503, allocations: 4 kB / 0.8584 GB, free: 1.387 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.8508, allocations: 87.88 kB / 0.8585 GB, free: 1.301 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008744/0.8516, allocations: 224.8 kB / 0.8587 GB, free: 1.078 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.063e-05/0.8517, allocations: 19.98 kB / 0.8587 GB, free: 1.059 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.853, allocations: 0.767 MB / 0.8595 GB, free: 272 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.853, allocations: 0 / 0.8595 GB, free: 272 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003687/0.8567, allocations: 1.242 MB / 0.8607 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008984/0.8576, allocations: 354.9 kB / 0.861 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.8578, allocations: 23.92 kB / 0.8611 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009308/0.8588, allocations: 83.91 kB / 0.8611 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.8589, allocations: 52.38 kB / 0.8612 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.835e-05/0.859, allocations: 27.98 kB / 0.8612 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001899/0.8609, allocations: 1.07 MB / 0.8623 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8609, allocations: 4 kB / 0.8623 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001451/0.8623, allocations: 435.4 kB / 0.8627 GB, free: 12.94 MB / 0.6856 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 (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.00101/0.8634, allocations: 463.7 kB / 0.8631 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.8659, allocations: 0.8601 MB / 0.864 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/0.8659, allocations: 0 / 0.864 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.8672, allocations: 467.6 kB / 0.8644 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/0.8708, allocations: 0.7227 MB / 0.8651 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/0.8762, allocations: 2.766 MB / 0.8678 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008604/0.8771, allocations: 1.176 MB / 0.869 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001666/0.8788, allocations: 272.1 kB / 0.8692 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.8791, allocations: 119.4 kB / 0.8693 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of SimCode: time 1.553e-06/0.8791, allocations: 4 kB / 0.8693 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of Templates: time 0.05469/0.9338, allocations: 30.63 MB / 0.8993 GB, free: 7.781 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (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)