Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01193/0.01193, allocations: 95.97 kB / 15.73 MB, free: 6.055 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.002826/0.002827, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.607/1.607, allocations: 205.1 MB / 222.6 MB, free: 4.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4291/0.4291, allocations: 54.93 MB / 324.8 MB, free: 44 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.00167/0.001671, allocations: 71.62 kB / 456.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1322, allocations: 59.59 MB / 0.5038 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05627/0.1885, allocations: 60.49 MB / 0.5629 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0162/0.2048, allocations: 11.24 MB / 0.5739 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/0.2072, allocations: 51.69 kB / 0.5739 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.2099, allocations: 0.7259 MB / 0.5746 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006239/0.2161, allocations: 1.926 MB / 0.5765 GB, free: 140 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.2193, allocations: 1.022 MB / 0.5775 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005642/0.225, allocations: 3.022 MB / 0.5805 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.227, allocations: 1.087 MB / 0.5815 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004477/0.2315, allocations: 1.443 MB / 0.5829 GB, free: 9.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/0.2341, allocations: 0.9646 MB / 0.5839 GB, free: 8.551 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003355/0.2344, allocations: 120 kB / 0.584 GB, free: 8.434 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.2377, allocations: 1.209 MB / 0.5852 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003692/0.2381, allocations: 306.8 kB / 0.5855 GB, free: 6.922 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.2392, allocations: 0.727 MB / 0.5862 GB, free: 6.191 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003953/0.2432, allocations: 2.242 MB / 0.5884 GB, free: 3.941 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2432, allocations: 0 / 0.5884 GB, free: 3.941 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2432, allocations: 4 kB / 0.5884 GB, free: 3.938 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.2433, allocations: 4 kB / 0.5884 GB, free: 3.934 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003496/0.2468, allocations: 1.794 MB / 0.5901 GB, free: 2.074 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.2468, allocations: 8.031 kB / 0.5901 GB, free: 2.066 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002536/0.2494, allocations: 467.6 kB / 0.5906 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/0.252, allocations: 1.145 MB / 0.5917 GB, free: 432 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/0.2521, allocations: 77.98 kB / 0.5918 GB, free: 356 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.2523, allocations: 87.98 kB / 0.5918 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/0.255, allocations: 1.24 MB / 0.5931 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.2551, allocations: 4 kB / 0.5931 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.632e-05/0.2552, allocations: 40 kB / 0.5931 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/0.2552, allocations: 31.94 kB / 0.5931 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.2579, allocations: 0.9833 MB / 0.5941 GB, free: 13.86 MB / 478.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.007744/0.2657, allocations: 6.261 MB / 0.6002 GB, free: 7.203 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.2679, allocations: 0.667 MB / 0.6009 GB, free: 6.527 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006723/0.2686, allocations: 269.4 kB / 0.6011 GB, free: 6.262 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003562/0.269, allocations: 422.3 kB / 0.6015 GB, free: 5.758 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.269, allocations: 46.88 kB / 0.6016 GB, free: 5.703 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.495e-06/0.269, allocations: 3.938 kB / 0.6016 GB, free: 5.699 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.007955/0.277, allocations: 1.717 MB / 0.6032 GB, free: 3.953 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.2771, allocations: 162.2 kB / 0.6034 GB, free: 3.758 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.279, allocations: 1.165 MB / 0.6045 GB, free: 2.582 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.972e-05/0.2792, allocations: 33.7 kB / 0.6046 GB, free: 2.543 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.2797, allocations: 0.6058 MB / 0.6052 GB, free: 1.934 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.2798, allocations: 154.7 kB / 0.6053 GB, free: 1.781 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.2801, allocations: 166.5 kB / 0.6055 GB, free: 1.609 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2803, allocations: 333.9 kB / 0.6058 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.2813, allocations: 344.6 kB / 0.6061 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.2826, allocations: 0.662 MB / 0.6068 GB, free: 124 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.2847, allocations: 0.84 MB / 0.6076 GB, free: 15.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.2847, allocations: 4 kB / 0.6076 GB, free: 15.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003223/0.2879, allocations: 1.125 MB / 0.6087 GB, free: 14.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.288, allocations: 8 kB / 0.6087 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.288, allocations: 8 kB / 0.6087 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.289, allocations: 268.6 kB / 0.609 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/0.2898, allocations: 171.8 kB / 0.6091 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.2912, allocations: 0.8527 MB / 0.6099 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.2928, allocations: 191.2 kB / 0.6101 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.822e-05/0.2929, allocations: 35.98 kB / 0.6102 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001361/0.2943, allocations: 0.5214 MB / 0.6107 GB, free: 11.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001134/0.2954, allocations: 0.6347 MB / 0.6113 GB, free: 11.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001783/0.2972, allocations: 0.7975 MB / 0.6121 GB, free: 10.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.86e-06/0.2972, allocations: 3.938 kB / 0.6121 GB, free: 10.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.003061/0.3003, allocations: 1.086 MB / 0.6131 GB, free: 9.172 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.3004, allocations: 10.34 kB / 0.6131 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.3004, allocations: 16 kB / 0.6132 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009226/0.3013, allocations: 256.6 kB / 0.6134 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006631/0.302, allocations: 163.8 kB / 0.6136 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.3033, allocations: 0.8483 MB / 0.6144 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.3049, allocations: 147.8 kB / 0.6145 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/0.305, allocations: 36 kB / 0.6146 GB, free: 7.684 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (77): * Single equations (assignments): 76 * 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.0003419/0.3054, allocations: 235.9 kB / 0.6148 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.3056, allocations: 123.2 kB / 0.6149 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003683/0.3093, allocations: 0.9695 MB / 0.6159 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.3094, allocations: 4 kB / 0.6159 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3094, allocations: 0 / 0.6159 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3094, allocations: 3.984 kB / 0.6159 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005803/0.3152, allocations: 2.026 MB / 0.6178 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.3152, allocations: 0 / 0.6178 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.3156, allocations: 79.86 kB / 0.6179 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009283/0.3166, allocations: 244.9 kB / 0.6182 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.3166, allocations: 23.98 kB / 0.6182 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.3179, allocations: 0.8217 MB / 0.619 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.3179, allocations: 7.938 kB / 0.619 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003898/0.3219, allocations: 1.122 MB / 0.6201 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009087/0.3228, allocations: 264.2 kB / 0.6203 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003612/0.3232, allocations: 24.03 kB / 0.6204 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.3244, allocations: 83.89 kB / 0.6204 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.3246, allocations: 39.83 kB / 0.6205 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/0.3247, allocations: 19.98 kB / 0.6205 GB, free: 1.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00176/0.3264, allocations: 0.8036 MB / 0.6213 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3264, allocations: 0 / 0.6213 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002378/0.3288, allocations: 0.5694 MB / 0.6218 GB, free: 32 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009459/0.3298, allocations: 269.8 kB / 0.6221 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003685/0.3335, allocations: 1.203 MB / 0.6233 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.3335, allocations: 0 / 0.6233 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009773/0.3345, allocations: 320.5 kB / 0.6236 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/0.338, allocations: 0.5634 MB / 0.6241 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006414/0.3444, allocations: 2.047 MB / 0.6261 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.3457, allocations: 1.058 MB / 0.6272 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001316/0.347, allocations: 257.5 kB / 0.6274 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.3473, allocations: 83.42 kB / 0.6275 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.3474, allocations: 0 / 0.6275 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.3451/0.6925, allocations: 24.9 MB / 0.6518 GB, free: 120.7 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)