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.001653/0.001653, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001561/0.001561, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.554/1.554, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4033/0.4033, allocations: 54.93 MB / 324.3 MB, free: 168 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.00201/0.002011, allocations: 60.33 kB / 394.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1606, allocations: 59.59 MB / 454.3 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2849/0.4455, allocations: 69.36 MB / 0.5114 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03001/0.4756, allocations: 18.17 MB / 0.5291 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004369/0.48, allocations: 61.81 kB / 0.5292 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003774/0.4839, allocations: 0.7011 MB / 0.5299 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01307/0.497, allocations: 2.571 MB / 0.5324 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00639/0.5034, allocations: 1.305 MB / 0.5336 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009075/0.5125, allocations: 5.045 MB / 0.5386 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00232/0.5149, allocations: 1.165 MB / 0.5397 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.5195, allocations: 1.587 MB / 0.5413 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002947/0.5224, allocations: 1.244 MB / 0.5425 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.5227, allocations: 76 kB / 0.5425 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.5255, allocations: 1.017 MB / 0.5435 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.5259, allocations: 302.6 kB / 0.5438 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.5271, allocations: 0.8512 MB / 0.5447 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004003/0.5311, allocations: 2.988 MB / 0.5476 GB, free: 13.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.5311, allocations: 4 kB / 0.5476 GB, free: 13.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.5311, allocations: 0 / 0.5476 GB, free: 13.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.5311, allocations: 0 / 0.5476 GB, free: 13.68 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.00395/0.5351, allocations: 2.059 MB / 0.5496 GB, free: 11.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.5352, allocations: 8.031 kB / 0.5496 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002942/0.5381, allocations: 0.4903 MB / 0.5501 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.5412, allocations: 1.477 MB / 0.5515 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004124/0.5417, allocations: 146.2 kB / 0.5517 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.5419, allocations: 112 kB / 0.5518 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/0.5449, allocations: 1.476 MB / 0.5532 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.545, allocations: 3.938 kB / 0.5532 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.5451, allocations: 44 kB / 0.5533 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-05/0.5452, allocations: 36 kB / 0.5533 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/0.5478, allocations: 1.171 MB / 0.5544 GB, free: 6.406 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.009407/0.5573, allocations: 8.214 MB / 0.5625 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.5589, allocations: 0.6076 MB / 0.563 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006197/0.5595, allocations: 248.7 kB / 0.5633 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/0.5608, allocations: 1.231 MB / 0.5645 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.5609, allocations: 38.56 kB / 0.5645 GB, free: 11.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 5.811e-06/0.5609, allocations: 96 / 0.5645 GB, free: 11.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.005783/0.5667, allocations: 1.399 MB / 0.5659 GB, free: 9.832 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.5668, allocations: 158.2 kB / 0.566 GB, free: 9.641 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/0.5696, allocations: 1.618 MB / 0.5676 GB, free: 8.016 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-05/0.5697, allocations: 33.7 kB / 0.5676 GB, free: 7.977 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006459/0.5704, allocations: 0.7308 MB / 0.5684 GB, free: 7.238 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.5706, allocations: 161.8 kB / 0.5685 GB, free: 7.078 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/0.5709, allocations: 194.3 kB / 0.5687 GB, free: 6.883 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.571, allocations: 330 kB / 0.569 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009444/0.572, allocations: 369.8 kB / 0.5694 GB, free: 6.191 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.5734, allocations: 0.7561 MB / 0.5701 GB, free: 5.258 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.5753, allocations: 0.959 MB / 0.571 GB, free: 4.156 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.5754, allocations: 4 kB / 0.571 GB, free: 4.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.004248/0.5796, allocations: 1.427 MB / 0.5724 GB, free: 2.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.5797, allocations: 12.95 kB / 0.5725 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.5797, allocations: 12 kB / 0.5725 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007771/0.5805, allocations: 208.6 kB / 0.5727 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/0.5813, allocations: 223.6 kB / 0.5729 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008344/0.5822, allocations: 0.7084 MB / 0.5736 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.584, allocations: 262.4 kB / 0.5738 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/0.5841, allocations: 52.78 kB / 0.5739 GB, free: 1.223 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.0006384/0.5847, allocations: 373.4 kB / 0.5742 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.585, allocations: 158.1 kB / 0.5744 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.5872, allocations: 0.9465 MB / 0.5753 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.5872, allocations: 12 kB / 0.5753 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5872, allocations: 3.984 kB / 0.5753 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.5872, allocations: 3.984 kB / 0.5753 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005117/0.5923, allocations: 2.393 MB / 0.5777 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.5924, allocations: 7.938 kB / 0.5777 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.5927, allocations: 80.25 kB / 0.5777 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007251/0.5935, allocations: 196.7 kB / 0.5779 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.5935, allocations: 15.98 kB / 0.5779 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007907/0.5943, allocations: 0.6966 MB / 0.5786 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.5944, allocations: 7.969 kB / 0.5786 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003281/0.5976, allocations: 1.094 MB / 0.5797 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007422/0.5984, allocations: 327 kB / 0.58 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.5987, allocations: 12 kB / 0.58 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.5997, allocations: 96.61 kB / 0.5801 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.5998, allocations: 35.84 kB / 0.5802 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/0.5999, allocations: 27.97 kB / 0.5802 GB, free: 10.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002035/0.6019, allocations: 1.162 MB / 0.5813 GB, free: 9.383 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6019, allocations: 0 / 0.5813 GB, free: 9.383 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002044/0.604, allocations: 415.5 kB / 0.5817 GB, free: 8.977 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.001132/0.6051, allocations: 370.1 kB / 0.5821 GB, free: 8.621 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002473/0.6076, allocations: 0.7816 MB / 0.5828 GB, free: 7.844 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.6076, allocations: 4 kB / 0.5828 GB, free: 7.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007557/0.6084, allocations: 287.7 kB / 0.5831 GB, free: 7.559 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/0.6124, allocations: 0.7751 MB / 0.5839 GB, free: 6.816 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.617, allocations: 2.688 MB / 0.5865 GB, free: 4.059 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/0.6178, allocations: 1.163 MB / 0.5876 GB, free: 2.867 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001407/0.6192, allocations: 272.7 kB / 0.5879 GB, free: 2.605 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.6195, allocations: 115.4 kB / 0.588 GB, free: 2.492 MB / 462.1 MB Notification: Performance of SimCode: time 2.886e-06/0.6195, allocations: 0 / 0.588 GB, free: 2.492 MB / 462.1 MB Notification: Performance of Templates: time 0.05871/0.6782, allocations: 30.19 MB / 0.6175 GB, free: 4.527 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)