Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001383/0.001383, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001958/0.001958, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.516/1.516, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4619/0.4619, allocations: 54.94 MB / 324.4 MB, free: 92 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.91 kB / 394.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1223, allocations: 59.59 MB / 454.5 MB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2586/0.381, allocations: 69.18 MB / 0.5114 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02638/0.4074, allocations: 17.96 MB / 0.5289 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00312/0.4105, allocations: 54.78 kB / 0.529 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003359/0.414, allocations: 0.7459 MB / 0.5297 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.4246, allocations: 2.624 MB / 0.5323 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004955/0.4296, allocations: 1.33 MB / 0.5336 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006094/0.4357, allocations: 3.951 MB / 0.5374 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.4378, allocations: 1.425 MB / 0.5388 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004016/0.4418, allocations: 1.877 MB / 0.5407 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.444, allocations: 1.291 MB / 0.5419 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003064/0.4443, allocations: 181.1 kB / 0.5421 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.447, allocations: 1.191 MB / 0.5433 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003683/0.4474, allocations: 406.5 kB / 0.5436 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.4485, allocations: 0.9722 MB / 0.5446 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004791/0.4533, allocations: 3.062 MB / 0.5476 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4534, allocations: 0 / 0.5476 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4534, allocations: 0 / 0.5476 GB, free: 13.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.078e-05/0.4534, allocations: 0 / 0.5476 GB, free: 13.66 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.004533/0.458, allocations: 2.059 MB / 0.5496 GB, free: 11.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.458, allocations: 8.031 kB / 0.5496 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002848/0.4609, allocations: 0.4903 MB / 0.5501 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004392/0.4653, allocations: 1.477 MB / 0.5515 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000381/0.4657, allocations: 138.2 kB / 0.5517 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.4659, allocations: 112 kB / 0.5518 GB, free: 9.266 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00338/0.4693, allocations: 1.476 MB / 0.5532 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.4694, allocations: 3.938 kB / 0.5532 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.4695, allocations: 56 kB / 0.5533 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/0.4696, allocations: 32 kB / 0.5533 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/0.4724, allocations: 1.167 MB / 0.5544 GB, free: 6.398 MB / 430.1 MB 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.008497/0.4809, allocations: 8.208 MB / 0.5624 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.4825, allocations: 0.6154 MB / 0.563 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.483, allocations: 240.7 kB / 0.5633 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000842/0.4839, allocations: 1.227 MB / 0.5645 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.4839, allocations: 46.55 kB / 0.5645 GB, free: 11.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.134e-06/0.4839, allocations: 0 / 0.5645 GB, free: 11.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.005424/0.4893, allocations: 1.391 MB / 0.5659 GB, free: 9.828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.4894, allocations: 162.2 kB / 0.566 GB, free: 9.633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.4916, allocations: 1.614 MB / 0.5676 GB, free: 8.012 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.438e-05/0.4917, allocations: 37.7 kB / 0.5676 GB, free: 7.969 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/0.4923, allocations: 0.7347 MB / 0.5684 GB, free: 7.227 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.4924, allocations: 153.8 kB / 0.5685 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.4927, allocations: 190.3 kB / 0.5687 GB, free: 6.883 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4928, allocations: 338 kB / 0.569 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009508/0.4938, allocations: 373.8 kB / 0.5694 GB, free: 6.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.495, allocations: 0.7483 MB / 0.5701 GB, free: 5.254 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.4968, allocations: 0.9628 MB / 0.571 GB, free: 4.148 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.4968, allocations: 4.625 kB / 0.571 GB, free: 4.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.004219/0.501, allocations: 1.427 MB / 0.5724 GB, free: 2.707 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.5011, allocations: 8.766 kB / 0.5724 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.5011, allocations: 12 kB / 0.5725 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007838/0.5019, allocations: 213.1 kB / 0.5727 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008501/0.5027, allocations: 223.6 kB / 0.5729 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007973/0.5036, allocations: 0.7054 MB / 0.5736 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.5053, allocations: 271.4 kB / 0.5738 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.5054, allocations: 47.92 kB / 0.5739 GB, free: 1.215 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (95): * Single equations (assignments): 94 * 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.0006137/0.506, allocations: 377.4 kB / 0.5742 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.5063, allocations: 154.1 kB / 0.5744 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.5083, allocations: 0.9557 MB / 0.5753 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.5084, allocations: 7.984 kB / 0.5753 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5084, allocations: 0 / 0.5753 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.5084, allocations: 0 / 0.5753 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004949/0.5133, allocations: 2.397 MB / 0.5777 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.5134, allocations: 4 kB / 0.5777 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.5137, allocations: 79.88 kB / 0.5777 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006931/0.5144, allocations: 196.8 kB / 0.5779 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.5145, allocations: 15.98 kB / 0.5779 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007041/0.5152, allocations: 0.6967 MB / 0.5786 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5152, allocations: 12 kB / 0.5786 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/0.5184, allocations: 1.087 MB / 0.5797 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007258/0.5192, allocations: 335 kB / 0.58 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.5194, allocations: 12 kB / 0.58 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009895/0.5204, allocations: 99.73 kB / 0.5801 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.5205, allocations: 35.84 kB / 0.5802 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.307e-05/0.5206, allocations: 27.97 kB / 0.5802 GB, free: 10.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002008/0.5226, allocations: 1.162 MB / 0.5813 GB, free: 9.367 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5226, allocations: 4 kB / 0.5813 GB, free: 9.363 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001853/0.5245, allocations: 411.5 kB / 0.5817 GB, free: 8.961 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001348/0.5258, allocations: 368.2 kB / 0.5821 GB, free: 8.605 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002578/0.5284, allocations: 0.8048 MB / 0.5829 GB, free: 7.805 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.5285, allocations: 0 / 0.5829 GB, free: 7.805 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007598/0.5292, allocations: 292.6 kB / 0.5831 GB, free: 7.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004666/0.5339, allocations: 0.811 MB / 0.5839 GB, free: 6.793 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.5384, allocations: 2.684 MB / 0.5865 GB, free: 4.043 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/0.5391, allocations: 1.174 MB / 0.5877 GB, free: 2.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001426/0.5405, allocations: 276.1 kB / 0.588 GB, free: 2.574 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.5408, allocations: 115.4 kB / 0.5881 GB, free: 2.461 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5408, allocations: 4 kB / 0.5881 GB, free: 2.457 MB / 462.1 MB Notification: Performance of Templates: time 0.05204/0.5929, allocations: 31.23 MB / 0.6186 GB, free: 3.445 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)