Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_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.001109/0.001109, allocations: 107.4 kB / 16.37 MB, free: 6.262 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.001198/0.001198, allocations: 189.9 kB / 17.3 MB, free: 5.848 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.452/1.452, allocations: 205.1 MB / 223.2 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.855/1.855, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.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.00147/0.00147, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2411, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4923/0.7335, allocations: 70.5 MB / 0.8536 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02778/0.7613, allocations: 18.82 MB / 0.872 GB, free: 4.617 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005969/0.7674, allocations: 66.59 kB / 0.8721 GB, free: 4.594 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00386/0.7713, allocations: 0.827 MB / 0.8729 GB, free: 4.043 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.7822, allocations: 2.835 MB / 0.8756 GB, free: 2.348 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005581/0.7878, allocations: 1.669 MB / 0.8773 GB, free: 1.188 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0074/0.7952, allocations: 4.034 MB / 0.8812 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002629/0.7979, allocations: 1.455 MB / 0.8826 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004849/0.8027, allocations: 1.785 MB / 0.8844 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.8054, allocations: 1.19 MB / 0.8855 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003862/0.8058, allocations: 177.2 kB / 0.8857 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004132/0.81, allocations: 1.417 MB / 0.8871 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004141/0.8104, allocations: 392 kB / 0.8875 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.8118, allocations: 0.9173 MB / 0.8884 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004703/0.8165, allocations: 3.137 MB / 0.8914 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8165, allocations: 0 / 0.8914 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.446e-06/0.8165, allocations: 3.984 kB / 0.8914 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.363e-05/0.8166, allocations: 0 / 0.8914 GB, free: 8.082 MB / 0.6856 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.003804/0.8204, allocations: 2.045 MB / 0.8934 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.8204, allocations: 8.875 kB / 0.8934 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002275/0.8227, allocations: 448.1 kB / 0.8939 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/0.8256, allocations: 1.554 MB / 0.8954 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/0.8257, allocations: 82.09 kB / 0.8955 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.8259, allocations: 102.4 kB / 0.8956 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.8287, allocations: 1.32 MB / 0.8969 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.8287, allocations: 1.25 kB / 0.8969 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.8289, allocations: 43.12 kB / 0.8969 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.8289, allocations: 29.38 kB / 0.8969 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/0.8317, allocations: 1.119 MB / 0.898 GB, free: 3.477 MB / 0.6856 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.01062/0.8423, allocations: 7.223 MB / 0.9051 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.8456, allocations: 0.8431 MB / 0.9059 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006984/0.8463, allocations: 312.1 kB / 0.9062 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.8476, allocations: 1.719 MB / 0.9079 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.8477, allocations: 40.75 kB / 0.9079 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=52): time 2.755e-06/0.8477, allocations: 1.781 kB / 0.9079 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=52): time 0.005195/0.8529, allocations: 1.376 MB / 0.9093 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.8529, allocations: 61.06 kB / 0.9093 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.8555, allocations: 1.55 MB / 0.9108 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.8557, allocations: 41.69 kB / 0.9109 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005488/0.8562, allocations: 0.6652 MB / 0.9115 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.8564, allocations: 185.3 kB / 0.9117 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003149/0.8567, allocations: 178.4 kB / 0.9119 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.8569, allocations: 334 kB / 0.9122 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.8579, allocations: 389.8 kB / 0.9125 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.8592, allocations: 0.669 MB / 0.9132 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.8611, allocations: 0.9102 MB / 0.9141 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.8611, allocations: 4 kB / 0.9141 GB, free: 4.594 MB / 0.7012 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003242/0.8643, allocations: 1.228 MB / 0.9153 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.8644, allocations: 8 kB / 0.9153 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.8644, allocations: 11.94 kB / 0.9153 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009078/0.8653, allocations: 228.6 kB / 0.9155 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/0.8661, allocations: 203.7 kB / 0.9157 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008277/0.867, allocations: 0.7123 MB / 0.9164 GB, free: 2.168 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.8688, allocations: 214.7 kB / 0.9166 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.8689, allocations: 46.02 kB / 0.9167 GB, free: 1.914 MB / 0.7012 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 (88): * Single equations (assignments): 87 * 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.000623/0.8695, allocations: 370.6 kB / 0.917 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.8698, allocations: 150.1 kB / 0.9172 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.8723, allocations: 1.181 MB / 0.9183 GB, free: 228 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.8724, allocations: 7.922 kB / 0.9183 GB, free: 220 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.8724, allocations: 0 / 0.9183 GB, free: 220 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006297/0.873, allocations: 355 kB / 0.9187 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.8732, allocations: 8 kB / 0.9187 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008681/0.8741, allocations: 77.59 kB / 0.9187 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.202e-05/0.8742, allocations: 36.5 kB / 0.9188 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002638/0.8768, allocations: 1.02 MB / 0.9198 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002594/0.8794, allocations: 1.49 MB / 0.9212 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007158/0.8801, allocations: 356.4 kB / 0.9216 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001751/0.8819, allocations: 1.09 MB / 0.9226 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of Backend: time 2.6e-07/0.8819, allocations: 0 / 0.9226 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00357/0.8855, allocations: 1.095 MB / 0.9237 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of SimCode: time 0.005624/0.8911, allocations: 3.184 MB / 0.9268 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of Templates: time 0.054/0.9452, allocations: 33.73 MB / 0.9598 GB, free: 6.188 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)