Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01059/0.01059, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002542/0.002542, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.682/1.682, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2846/0.2846, allocations: 54.96 MB / 324.9 MB, free: 4.824 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.00163/0.00163, allocations: 63.91 kB / 456.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1644, allocations: 59.6 MB / 0.5037 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.3713/0.5357, allocations: 60.49 MB / 0.5628 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01917/0.5549, allocations: 11.23 MB / 0.5737 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003072/0.5581, allocations: 51.28 kB / 0.5738 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.5607, allocations: 0.7573 MB / 0.5745 GB, free: 48 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007472/0.5681, allocations: 2.033 MB / 0.5765 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003493/0.5717, allocations: 1.031 MB / 0.5775 GB, free: 14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005497/0.5772, allocations: 3.036 MB / 0.5805 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.5796, allocations: 1.113 MB / 0.5816 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004522/0.5841, allocations: 1.452 MB / 0.583 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.5861, allocations: 0.9832 MB / 0.584 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002923/0.5864, allocations: 124.8 kB / 0.5841 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/0.5896, allocations: 1.192 MB / 0.5852 GB, free: 9.395 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.5899, allocations: 304 kB / 0.5855 GB, free: 9.148 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.591, allocations: 0.733 MB / 0.5862 GB, free: 8.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003589/0.5946, allocations: 2.243 MB / 0.5884 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.5946, allocations: 0 / 0.5884 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5946, allocations: 0 / 0.5884 GB, free: 7.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.5946, allocations: 0 / 0.5884 GB, free: 7.172 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003315/0.598, allocations: 1.743 MB / 0.5901 GB, free: 5.832 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.598, allocations: 10.5 kB / 0.5901 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/0.6009, allocations: 0.504 MB / 0.5906 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.6034, allocations: 1.143 MB / 0.5918 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.413e-05/0.6035, allocations: 72.5 kB / 0.5918 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.6037, allocations: 87.12 kB / 0.5919 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/0.6066, allocations: 1.246 MB / 0.5931 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.6066, allocations: 3.938 kB / 0.5931 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.6067, allocations: 47.36 kB / 0.5932 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/0.6068, allocations: 29.05 kB / 0.5932 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/0.6098, allocations: 1.048 MB / 0.5942 GB, free: 3.242 MB / 446.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.007669/0.6174, allocations: 6.094 MB / 0.6002 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/0.6204, allocations: 0.8696 MB / 0.601 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009519/0.6213, allocations: 348.5 kB / 0.6014 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004315/0.6218, allocations: 422.3 kB / 0.6018 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.6218, allocations: 38.56 kB / 0.6018 GB, free: 12.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=43): time 2.545e-06/0.6218, allocations: 0 / 0.6018 GB, free: 12.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.00944/0.6313, allocations: 2.102 MB / 0.6038 GB, free: 9.938 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.6314, allocations: 162.2 kB / 0.604 GB, free: 9.742 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.6335, allocations: 1.044 MB / 0.605 GB, free: 8.684 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.6337, allocations: 37.7 kB / 0.6051 GB, free: 8.641 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005375/0.6342, allocations: 0.5733 MB / 0.6056 GB, free: 8.062 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.6344, allocations: 153.8 kB / 0.6058 GB, free: 7.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.6347, allocations: 146.1 kB / 0.6059 GB, free: 7.762 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.6349, allocations: 337.9 kB / 0.6062 GB, free: 7.426 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.6361, allocations: 371.2 kB / 0.6066 GB, free: 7.059 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.6375, allocations: 0.6462 MB / 0.6072 GB, free: 6.285 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.6398, allocations: 0.8797 MB / 0.6081 GB, free: 5.324 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.6398, allocations: 4 kB / 0.6081 GB, free: 5.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005455/0.6453, allocations: 1.435 MB / 0.6095 GB, free: 3.871 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6453, allocations: 8 kB / 0.6095 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.6453, allocations: 4 kB / 0.6095 GB, free: 3.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.6465, allocations: 257.2 kB / 0.6097 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009458/0.6474, allocations: 175.7 kB / 0.6099 GB, free: 3.434 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.6492, allocations: 0.8371 MB / 0.6107 GB, free: 2.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.6512, allocations: 159 kB / 0.6109 GB, free: 2.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.6514, allocations: 31.98 kB / 0.6109 GB, free: 2.383 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001719/0.6532, allocations: 0.5496 MB / 0.6114 GB, free: 1.832 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001319/0.6545, allocations: 0.6152 MB / 0.612 GB, free: 1.094 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002109/0.6566, allocations: 0.8254 MB / 0.6128 GB, free: 192 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.873e-06/0.6566, allocations: 0 / 0.6128 GB, free: 192 kB / 462.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.005392/0.662, allocations: 1.392 MB / 0.6142 GB, free: 14.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6621, allocations: 8.938 kB / 0.6142 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.6621, allocations: 8.594 kB / 0.6142 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008991/0.663, allocations: 257.8 kB / 0.6145 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.6638, allocations: 167.7 kB / 0.6146 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.6651, allocations: 0.8333 MB / 0.6154 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.6665, allocations: 119.8 kB / 0.6156 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/0.6666, allocations: 31.98 kB / 0.6156 GB, free: 13.34 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (71): * Single equations (assignments): 70 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003235/0.6669, allocations: 232 kB / 0.6158 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003654/0.6673, allocations: 106.7 kB / 0.6159 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004264/0.6715, allocations: 1.145 MB / 0.617 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.6716, allocations: 4 kB / 0.617 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.6716, allocations: 3.938 kB / 0.617 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/0.6716, allocations: 3.984 kB / 0.617 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006564/0.6782, allocations: 2.281 MB / 0.6193 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.6782, allocations: 7.938 kB / 0.6193 GB, free: 9.469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005749/0.6788, allocations: 104 kB / 0.6194 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008647/0.6797, allocations: 236.6 kB / 0.6196 GB, free: 9.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.6797, allocations: 19.98 kB / 0.6196 GB, free: 9.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.6815, allocations: 0.8935 MB / 0.6205 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6815, allocations: 0 / 0.6205 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004359/0.6859, allocations: 1.22 MB / 0.6217 GB, free: 6.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008343/0.6867, allocations: 259.6 kB / 0.6219 GB, free: 6.656 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003468/0.6871, allocations: 15.94 kB / 0.6219 GB, free: 6.641 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.6883, allocations: 91.89 kB / 0.622 GB, free: 6.551 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.6884, allocations: 35.83 kB / 0.6221 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.6886, allocations: 19.98 kB / 0.6221 GB, free: 6.496 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001495/0.6901, allocations: 0.7241 MB / 0.6228 GB, free: 5.766 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6901, allocations: 0 / 0.6228 GB, free: 5.766 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00212/0.6922, allocations: 0.5613 MB / 0.6233 GB, free: 5.203 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 30 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.6933, allocations: 275.9 kB / 0.6236 GB, free: 4.941 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004436/0.6977, allocations: 1.321 MB / 0.6249 GB, free: 3.621 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.6977, allocations: 8.25 kB / 0.6249 GB, free: 3.613 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.6994, allocations: 455.7 kB / 0.6253 GB, free: 3.168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/0.7024, allocations: 0.528 MB / 0.6258 GB, free: 2.664 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/0.7073, allocations: 1.859 MB / 0.6277 GB, free: 0.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009281/0.7082, allocations: 1.061 MB / 0.6287 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001282/0.7095, allocations: 244 kB / 0.6289 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.7099, allocations: 83.41 kB / 0.629 GB, free: 15.34 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7099, allocations: 0 / 0.629 GB, free: 15.34 MB / 494.1 MB Notification: Performance of Templates: time 0.04987/0.7598, allocations: 23.76 MB / 0.6522 GB, free: 7.797 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)