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.000884/0.0008835, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007339/0.007339, allocations: 170 kB / 16.26 MB, free: 6.613 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.498/1.498, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3875/0.3875, allocations: 55.02 MB / 325.7 MB, free: 0.5273 MB / 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.0005194/0.0005194, allocations: 16.66 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3527, allocations: 60.71 MB / 458 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05734/0.4101, allocations: 68.15 MB / 0.5138 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02619/0.4364, allocations: 17.97 MB / 0.5313 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/0.4392, allocations: 55.06 kB / 0.5314 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002633/0.4419, allocations: 0.6933 MB / 0.5321 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009137/0.451, allocations: 2.57 MB / 0.5346 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004625/0.4557, allocations: 1.305 MB / 0.5359 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008094/0.4638, allocations: 5.043 MB / 0.5408 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002143/0.466, allocations: 1.121 MB / 0.5419 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/0.4706, allocations: 1.55 MB / 0.5434 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/0.4735, allocations: 1.178 MB / 0.5445 GB, free: 3.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003615/0.4738, allocations: 60 kB / 0.5446 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.477, allocations: 0.9979 MB / 0.5456 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.4774, allocations: 274.6 kB / 0.5458 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.4786, allocations: 0.845 MB / 0.5467 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003877/0.4825, allocations: 2.924 MB / 0.5495 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4825, allocations: 0 / 0.5495 GB, free: 14.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4825, allocations: 0 / 0.5495 GB, free: 14.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.4826, allocations: 3.938 kB / 0.5495 GB, free: 14.47 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.003186/0.4858, allocations: 1.721 MB / 0.5512 GB, free: 12.69 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4858, allocations: 8.031 kB / 0.5512 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00261/0.4884, allocations: 0.5255 MB / 0.5517 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.4912, allocations: 1.504 MB / 0.5532 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003627/0.4915, allocations: 150.1 kB / 0.5533 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.4918, allocations: 112 kB / 0.5534 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/0.4946, allocations: 1.5 MB / 0.5549 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.4946, allocations: 3.938 kB / 0.5549 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.4947, allocations: 52 kB / 0.555 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.4948, allocations: 35.98 kB / 0.555 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002925/0.4977, allocations: 1.222 MB / 0.5562 GB, free: 7.391 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.01072/0.5084, allocations: 8.242 MB / 0.5642 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.5102, allocations: 0.6479 MB / 0.5649 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/0.5108, allocations: 264.7 kB / 0.5651 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.5119, allocations: 1.224 MB / 0.5663 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.512, allocations: 46.59 kB / 0.5664 GB, free: 12.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.424e-06/0.512, allocations: 4 kB / 0.5664 GB, free: 12.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.006099/0.5181, allocations: 1.543 MB / 0.5679 GB, free: 10.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.5182, allocations: 166.2 kB / 0.568 GB, free: 10.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.5208, allocations: 1.622 MB / 0.5696 GB, free: 8.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.974e-05/0.5209, allocations: 37.7 kB / 0.5696 GB, free: 8.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000593/0.5215, allocations: 0.7348 MB / 0.5704 GB, free: 7.965 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.5217, allocations: 161.7 kB / 0.5705 GB, free: 7.805 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.5218, allocations: 73.69 kB / 0.5706 GB, free: 7.727 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.522, allocations: 337.9 kB / 0.5709 GB, free: 7.391 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.523, allocations: 393.8 kB / 0.5713 GB, free: 7.004 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.5243, allocations: 0.7802 MB / 0.572 GB, free: 6.047 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.5262, allocations: 1.01 MB / 0.573 GB, free: 4.895 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5262, allocations: 0 / 0.573 GB, free: 4.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.004616/0.5308, allocations: 1.532 MB / 0.5745 GB, free: 3.352 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.5309, allocations: 12.92 kB / 0.5745 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.5309, allocations: 12 kB / 0.5745 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008424/0.5318, allocations: 216.6 kB / 0.5748 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008711/0.5327, allocations: 231.6 kB / 0.575 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008716/0.5335, allocations: 0.7278 MB / 0.5757 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.5354, allocations: 290.4 kB / 0.576 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.671e-05/0.5355, allocations: 47.98 kB / 0.576 GB, free: 1.801 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.0006555/0.5361, allocations: 373.5 kB / 0.5764 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/0.5364, allocations: 154.1 kB / 0.5765 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.5385, allocations: 0.9972 MB / 0.5775 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.5386, allocations: 4 kB / 0.5775 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5386, allocations: 0 / 0.5775 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.5386, allocations: 3.984 kB / 0.5775 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005116/0.5437, allocations: 2.5 MB / 0.5799 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.5437, allocations: 4 kB / 0.5799 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.5441, allocations: 87.88 kB / 0.58 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007213/0.5448, allocations: 208.7 kB / 0.5802 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.5449, allocations: 12 kB / 0.5802 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008181/0.5457, allocations: 0.7084 MB / 0.5809 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.5457, allocations: 7.938 kB / 0.5809 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/0.549, allocations: 1.169 MB / 0.5821 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006585/0.5497, allocations: 370.8 kB / 0.5824 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.5499, allocations: 12 kB / 0.5824 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.5509, allocations: 103.9 kB / 0.5825 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.551, allocations: 43.83 kB / 0.5826 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.5511, allocations: 23.98 kB / 0.5826 GB, free: 10.81 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001977/0.553, allocations: 1.174 MB / 0.5838 GB, free: 9.645 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5531, allocations: 0 / 0.5838 GB, free: 9.645 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001364/0.5544, allocations: 419.4 kB / 0.5842 GB, free: 9.234 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.0007739/0.5552, allocations: 365.7 kB / 0.5845 GB, free: 8.875 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.5573, allocations: 0.8242 MB / 0.5853 GB, free: 8.055 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5573, allocations: 3.938 kB / 0.5853 GB, free: 8.051 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006982/0.558, allocations: 304.2 kB / 0.5856 GB, free: 7.754 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004097/0.5621, allocations: 0.7976 MB / 0.5864 GB, free: 6.977 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.5664, allocations: 2.735 MB / 0.589 GB, free: 4.176 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000872/0.5673, allocations: 1.167 MB / 0.5902 GB, free: 2.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00173/0.569, allocations: 278.3 kB / 0.5905 GB, free: 2.719 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/0.5694, allocations: 123.3 kB / 0.5906 GB, free: 2.598 MB / 462.1 MB Notification: Performance of SimCode: time 1.954e-06/0.5694, allocations: 4 kB / 0.5906 GB, free: 2.594 MB / 462.1 MB Notification: Performance of Templates: time 0.0519/0.6213, allocations: 31.2 MB / 0.621 GB, free: 3.621 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: