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.001536/0.001536, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002697/0.002697, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.497/1.497, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4072/0.4072, allocations: 54.94 MB / 324.7 MB, free: 15.96 MB / 270.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.001703/0.001703, allocations: 68.47 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1343, allocations: 59.59 MB / 454.9 MB, free: 148 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.284/0.4183, allocations: 69.75 MB / 0.5124 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02883/0.4472, allocations: 18.09 MB / 0.53 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004148/0.4514, allocations: 62.69 kB / 0.5301 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004979/0.4564, allocations: 0.879 MB / 0.5309 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01236/0.4688, allocations: 2.802 MB / 0.5337 GB, free: 8.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005206/0.4741, allocations: 1.453 MB / 0.5351 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006837/0.4809, allocations: 3.929 MB / 0.5389 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003457/0.4844, allocations: 1.446 MB / 0.5404 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005183/0.4896, allocations: 1.868 MB / 0.5422 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002748/0.4924, allocations: 1.252 MB / 0.5434 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006061/0.493, allocations: 183.4 kB / 0.5436 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.4965, allocations: 1.17 MB / 0.5447 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006146/0.4971, allocations: 398.6 kB / 0.5451 GB, free: 460 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001955/0.4991, allocations: 0.9605 MB / 0.546 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005069/0.5042, allocations: 3.046 MB / 0.549 GB, free: 12.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.5042, allocations: 0 / 0.549 GB, free: 12.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5042, allocations: 3.938 kB / 0.549 GB, free: 12.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.466e-05/0.5043, allocations: 0 / 0.549 GB, free: 12.43 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.004958/0.5092, allocations: 2.052 MB / 0.551 GB, free: 10.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5093, allocations: 12.03 kB / 0.551 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.512, allocations: 498.1 kB / 0.5515 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003019/0.5151, allocations: 1.462 MB / 0.5529 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003912/0.5155, allocations: 138.2 kB / 0.5531 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.5156, allocations: 112 kB / 0.5532 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/0.5186, allocations: 1.497 MB / 0.5546 GB, free: 6.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.5186, allocations: 3.938 kB / 0.5546 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.5188, allocations: 48 kB / 0.5547 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.433e-05/0.5188, allocations: 39.98 kB / 0.5547 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002904/0.5217, allocations: 1.167 MB / 0.5559 GB, free: 5.148 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.01059/0.5323, allocations: 8.643 MB / 0.5643 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.5342, allocations: 0.611 MB / 0.5649 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006039/0.5348, allocations: 244.7 kB / 0.5651 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.5359, allocations: 1.227 MB / 0.5663 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.536, allocations: 38.56 kB / 0.5664 GB, free: 9.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.555e-06/0.536, allocations: 0 / 0.5664 GB, free: 9.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.005981/0.542, allocations: 1.399 MB / 0.5677 GB, free: 8.125 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.5421, allocations: 158.2 kB / 0.5679 GB, free: 7.934 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002737/0.5449, allocations: 1.635 MB / 0.5695 GB, free: 6.293 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.545, allocations: 41.7 kB / 0.5695 GB, free: 6.246 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006933/0.5457, allocations: 0.7385 MB / 0.5702 GB, free: 5.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.5459, allocations: 165.7 kB / 0.5704 GB, free: 5.336 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.5463, allocations: 198.3 kB / 0.5706 GB, free: 5.137 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.5465, allocations: 337.9 kB / 0.5709 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.5475, allocations: 373.8 kB / 0.5713 GB, free: 4.434 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.549, allocations: 0.7946 MB / 0.572 GB, free: 3.445 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.551, allocations: 1.005 MB / 0.573 GB, free: 2.285 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.551, allocations: 4 kB / 0.573 GB, free: 2.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004791/0.5558, allocations: 1.463 MB / 0.5745 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.5559, allocations: 12 kB / 0.5745 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.5559, allocations: 12.8 kB / 0.5745 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.5569, allocations: 208.7 kB / 0.5747 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009146/0.5579, allocations: 235.5 kB / 0.5749 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008571/0.5587, allocations: 0.7162 MB / 0.5756 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.5604, allocations: 242.4 kB / 0.5758 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.849e-05/0.5605, allocations: 52.98 kB / 0.5759 GB, free: 15.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (101): * Single equations (assignments): 100 * 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.0005877/0.5611, allocations: 377.4 kB / 0.5762 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.5614, allocations: 158.1 kB / 0.5764 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.5635, allocations: 0.9581 MB / 0.5773 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.5636, allocations: 11.94 kB / 0.5773 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5636, allocations: 0 / 0.5773 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.5636, allocations: 4.984 kB / 0.5773 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005204/0.5688, allocations: 2.394 MB / 0.5797 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.5688, allocations: 4.375 kB / 0.5797 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.5692, allocations: 83.88 kB / 0.5798 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007032/0.5699, allocations: 196.6 kB / 0.58 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.57, allocations: 12 kB / 0.58 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008091/0.5708, allocations: 0.6976 MB / 0.5806 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.5708, allocations: 7.938 kB / 0.5807 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/0.5742, allocations: 1.087 MB / 0.5817 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000649/0.5749, allocations: 327 kB / 0.582 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.5751, allocations: 16 kB / 0.582 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.5761, allocations: 83.89 kB / 0.5821 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.5762, allocations: 39.84 kB / 0.5822 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.5763, allocations: 27.97 kB / 0.5822 GB, free: 8.633 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001979/0.5783, allocations: 1.178 MB / 0.5833 GB, free: 7.461 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5783, allocations: 0 / 0.5833 GB, free: 7.461 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001351/0.5797, allocations: 415.5 kB / 0.5837 GB, free: 7.055 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.0007621/0.5804, allocations: 390.8 kB / 0.5841 GB, free: 6.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.5827, allocations: 0.8206 MB / 0.5849 GB, free: 5.859 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.5827, allocations: 4 kB / 0.5849 GB, free: 5.855 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000715/0.5834, allocations: 288.7 kB / 0.5852 GB, free: 5.574 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/0.5872, allocations: 0.8145 MB / 0.586 GB, free: 4.828 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.5911, allocations: 2.247 MB / 0.5882 GB, free: 2.516 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008012/0.5919, allocations: 1.167 MB / 0.5893 GB, free: 1.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001293/0.5932, allocations: 282.5 kB / 0.5896 GB, free: 1.051 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.5935, allocations: 115.4 kB / 0.5897 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5935, allocations: 0 / 0.5897 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of Templates: time 0.05862/0.6521, allocations: 31.7 MB / 0.6207 GB, free: 1.438 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)