Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.043/2.043, allocations: 287.4 MB / 303.2 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009703/0.0009706, allocations: 185 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.4 MB / 0.6304 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009138/0.0009137, allocations: 96.36 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.000414, allocations: 15.47 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2151, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06341/0.2786, allocations: 65.13 MB / 1.043 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02243/0.3011, allocations: 17.6 MB / 1.06 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002673/0.3038, allocations: 59.62 kB / 1.06 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002237/0.3061, allocations: 0.5237 MB / 1.061 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008011/0.3141, allocations: 2.092 MB / 1.063 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004606/0.3188, allocations: 1.097 MB / 1.064 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006067/0.3248, allocations: 4.408 MB / 1.068 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4654/0.7903, allocations: 1.123 MB / 1.069 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004585/0.795, allocations: 1.34 MB / 1.07 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002895/0.7979, allocations: 1.046 MB / 1.071 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004206/0.7983, allocations: 58.44 kB / 1.072 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00316/0.8015, allocations: 0.9151 MB / 1.072 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004567/0.802, allocations: 252.8 kB / 1.073 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009746/0.803, allocations: 368.3 kB / 1.073 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004564/0.8075, allocations: 2.306 MB / 1.075 GB, free: 26.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.8076, allocations: 0 / 1.075 GB, free: 26.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8076, allocations: 0 / 1.075 GB, free: 26.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.679e-05/0.8077, allocations: 1.5 kB / 1.075 GB, free: 26.14 MB / 0.6823 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.00414/0.8118, allocations: 1.718 MB / 1.077 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.8119, allocations: 8.812 kB / 1.077 GB, free: 25.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/0.8145, allocations: 0.4964 MB / 1.077 GB, free: 25.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.8178, allocations: 1.526 MB / 1.079 GB, free: 24.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004451/0.8183, allocations: 146.8 kB / 1.079 GB, free: 24.65 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/0.8185, allocations: 106 kB / 1.079 GB, free: 24.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/0.8217, allocations: 1.31 MB / 1.08 GB, free: 24.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.8218, allocations: 4.125 kB / 1.08 GB, free: 24.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.8219, allocations: 40.16 kB / 1.08 GB, free: 24.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/0.822, allocations: 29.8 kB / 1.081 GB, free: 24.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.8251, allocations: 1.162 MB / 1.082 GB, free: 24.39 MB / 0.6823 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.009555/0.8347, allocations: 6.91 MB / 1.088 GB, free: 20.74 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.838, allocations: 0.9363 MB / 1.089 GB, free: 20.69 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008265/0.8389, allocations: 316.7 kB / 1.09 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/0.8402, allocations: 1.727 MB / 1.091 GB, free: 18.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.8402, allocations: 37 kB / 1.091 GB, free: 18.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.436e-06/0.8402, allocations: 0 / 1.091 GB, free: 18.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.005615/0.8458, allocations: 1.494 MB / 1.093 GB, free: 18.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.8459, allocations: 57.22 kB / 1.093 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/0.8487, allocations: 1.523 MB / 1.094 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.8488, allocations: 37.7 kB / 1.094 GB, free: 18.13 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005077/0.8493, allocations: 0.6657 MB / 1.095 GB, free: 17.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.8495, allocations: 178.7 kB / 1.095 GB, free: 17.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.8496, allocations: 15.31 kB / 1.095 GB, free: 17.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.046e-05/0.8496, allocations: 335.8 kB / 1.096 GB, free: 17.49 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.8507, allocations: 399.3 kB / 1.096 GB, free: 17.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.8519, allocations: 0.6776 MB / 1.097 GB, free: 17.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.8538, allocations: 0.9179 MB / 1.097 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.8538, allocations: 2.219 kB / 1.097 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003442/0.8573, allocations: 1.245 MB / 1.099 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.8573, allocations: 12.33 kB / 1.099 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.8573, allocations: 10.72 kB / 1.099 GB, free: 16.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.8583, allocations: 228.7 kB / 1.099 GB, free: 16.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/0.8592, allocations: 206.8 kB / 1.099 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008245/0.8601, allocations: 0.7196 MB / 1.1 GB, free: 16.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.8621, allocations: 269.4 kB / 1.1 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.8623, allocations: 44.83 kB / 1.1 GB, free: 16.1 MB / 0.6823 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.0007777/0.8631, allocations: 361.7 kB / 1.1 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.8634, allocations: 150.3 kB / 1.101 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.866, allocations: 1.206 MB / 1.102 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.866, allocations: 7.234 kB / 1.102 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.866, allocations: 0 / 1.102 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007254/0.8668, allocations: 379.8 kB / 1.102 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.867, allocations: 12.02 kB / 1.102 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000934/0.8679, allocations: 103.9 kB / 1.102 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.868, allocations: 44.48 kB / 1.102 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002684/0.8707, allocations: 1.088 MB / 1.103 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002652/0.8734, allocations: 1.525 MB / 1.105 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007023/0.8741, allocations: 378.8 kB / 1.105 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002067/0.8762, allocations: 1.069 MB / 1.106 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of Backend: time 6.22e-07/0.8762, allocations: 0 / 1.106 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004101/0.8803, allocations: 1.082 MB / 1.107 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of SimCode: time 0.00685/0.8872, allocations: 3.552 MB / 1.111 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of Templates: time 0.05356/0.9408, allocations: 31.4 MB / 1.141 GB, free: 0.7109 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)