Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 288.4 MB / 304.3 MB, free: 8.148 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.0009348/0.0009348, allocations: 172.5 kB / 372.9 MB, free: 10.15 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.436/1.436, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0007964/0.0007965, allocations: 92.19 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004687, allocations: 16.31 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1979, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05974/0.2577, allocations: 65.13 MB / 1.044 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.2789, allocations: 17.59 MB / 1.062 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/0.2811, allocations: 59.62 kB / 1.062 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.2831, allocations: 0.5276 MB / 1.062 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007071/0.2901, allocations: 2.295 MB / 1.064 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.294, allocations: 1.121 MB / 1.065 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.5343/0.8283, allocations: 4.418 MB / 1.07 GB, free: 26.97 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002947/0.8313, allocations: 1.132 MB / 1.071 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003947/0.8353, allocations: 1.412 MB / 1.072 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.8381, allocations: 1.044 MB / 1.073 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004077/0.8385, allocations: 62.44 kB / 1.073 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004559/0.8431, allocations: 1.163 MB / 1.074 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007965/0.8439, allocations: 253 kB / 1.075 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003388/0.8473, allocations: 0.773 MB / 1.075 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007462/0.8548, allocations: 2.389 MB / 1.078 GB, free: 26.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.8549, allocations: 1.75 kB / 1.078 GB, free: 26.74 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8549, allocations: 0 / 1.078 GB, free: 26.74 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001019/0.855, allocations: 0 / 1.078 GB, free: 26.74 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.006884/0.8619, allocations: 1.717 MB / 1.079 GB, free: 25.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.852e-05/0.862, allocations: 9.312 kB / 1.079 GB, free: 25.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003953/0.8659, allocations: 0.4924 MB / 1.08 GB, free: 25.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004728/0.8707, allocations: 1.522 MB / 1.081 GB, free: 25.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004566/0.8712, allocations: 152.9 kB / 1.082 GB, free: 25.24 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004243/0.8716, allocations: 105.3 kB / 1.082 GB, free: 25.24 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004593/0.8762, allocations: 1.31 MB / 1.083 GB, free: 25 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.8763, allocations: 5.344 kB / 1.083 GB, free: 25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.8765, allocations: 47.59 kB / 1.083 GB, free: 25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-05/0.8765, allocations: 29.38 kB / 1.083 GB, free: 25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004339/0.8809, allocations: 1.16 MB / 1.084 GB, free: 24.97 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.01215/0.893, allocations: 6.91 MB / 1.091 GB, free: 21.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/0.8965, allocations: 0.9442 MB / 1.092 GB, free: 21.24 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.8972, allocations: 313.9 kB / 1.092 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.8983, allocations: 1.718 MB / 1.094 GB, free: 19.26 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.8983, allocations: 42.7 kB / 1.094 GB, free: 19.22 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.407e-06/0.8983, allocations: 0 / 1.094 GB, free: 19.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.005204/0.9035, allocations: 1.491 MB / 1.095 GB, free: 18.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.9036, allocations: 60.41 kB / 1.095 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/0.9062, allocations: 1.526 MB / 1.097 GB, free: 18.72 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-05/0.9063, allocations: 37.45 kB / 1.097 GB, free: 18.69 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005171/0.9068, allocations: 0.6625 MB / 1.098 GB, free: 18.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.907, allocations: 178.5 kB / 1.098 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.907, allocations: 15.53 kB / 1.098 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.9071, allocations: 330.9 kB / 1.098 GB, free: 18.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.9081, allocations: 398.2 kB / 1.098 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.9093, allocations: 0.6734 MB / 1.099 GB, free: 17.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.911, allocations: 0.916 MB / 1.1 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.911, allocations: 3.656 kB / 1.1 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002946/0.9139, allocations: 1.251 MB / 1.101 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.914, allocations: 11.69 kB / 1.101 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.914, allocations: 6.594 kB / 1.101 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008727/0.9149, allocations: 227.3 kB / 1.101 GB, free: 17.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007624/0.9156, allocations: 209.2 kB / 1.102 GB, free: 17.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007606/0.9164, allocations: 0.7295 MB / 1.102 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/0.9186, allocations: 263.1 kB / 1.103 GB, free: 16.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.9187, allocations: 46.83 kB / 1.103 GB, free: 16.66 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.0007502/0.9194, allocations: 353.1 kB / 1.103 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.9197, allocations: 150.9 kB / 1.103 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.9221, allocations: 1.217 MB / 1.104 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.9221, allocations: 6.188 kB / 1.104 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9221, allocations: 2.625 kB / 1.104 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006331/0.9228, allocations: 383.8 kB / 1.105 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.923, allocations: 10.94 kB / 1.105 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009034/0.9239, allocations: 100.7 kB / 1.105 GB, free: 16.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.924, allocations: 40.77 kB / 1.105 GB, free: 16.13 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002535/0.9265, allocations: 1.089 MB / 1.106 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002502/0.929, allocations: 1.519 MB / 1.107 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007202/0.9298, allocations: 379.8 kB / 1.108 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001961/0.9317, allocations: 1.071 MB / 1.109 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of Backend: time 8.82e-07/0.9317, allocations: 6.906 kB / 1.109 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0039/0.9356, allocations: 1.086 MB / 1.11 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of SimCode: time 0.00587/0.9415, allocations: 3.56 MB / 1.113 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.05535/0.9969, allocations: 31.75 MB / 1.144 GB, free: 68 kB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)