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.006695/0.006695, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001226/0.001226, allocations: 190.5 kB / 16.67 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.466/1.466, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3957/0.3957, allocations: 54.94 MB / 324.8 MB, free: 15.93 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.001529/0.001529, allocations: 69.28 kB / 456.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1333, allocations: 59.58 MB / 0.5037 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05947/0.1929, allocations: 60.5 MB / 0.5628 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0173/0.2102, allocations: 11.23 MB / 0.5738 GB, free: 3.062 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.2126, allocations: 47.75 kB / 0.5738 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002748/0.2155, allocations: 0.7454 MB / 0.5745 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009978/0.2255, allocations: 2.036 MB / 0.5765 GB, free: 228 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004969/0.2305, allocations: 1.022 MB / 0.5775 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004607/0.2351, allocations: 3.026 MB / 0.5805 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001846/0.237, allocations: 1.083 MB / 0.5815 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004037/0.241, allocations: 1.471 MB / 0.583 GB, free: 9.574 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.243, allocations: 0.9724 MB / 0.5839 GB, free: 8.598 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003863/0.2434, allocations: 120 kB / 0.584 GB, free: 8.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003709/0.2471, allocations: 1.205 MB / 0.5852 GB, free: 7.273 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006257/0.2478, allocations: 302.8 kB / 0.5855 GB, free: 6.977 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.2496, allocations: 0.727 MB / 0.5862 GB, free: 6.246 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0052/0.2548, allocations: 2.24 MB / 0.5884 GB, free: 4 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2549, allocations: 3.938 kB / 0.5884 GB, free: 3.996 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2549, allocations: 0 / 0.5884 GB, free: 3.996 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.635e-05/0.255, allocations: 7.984 kB / 0.5884 GB, free: 3.988 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.005599/0.2606, allocations: 1.738 MB / 0.5901 GB, free: 2.188 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.2606, allocations: 12.03 kB / 0.5901 GB, free: 2.176 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003526/0.2642, allocations: 454.8 kB / 0.5906 GB, free: 1.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/0.268, allocations: 1.144 MB / 0.5917 GB, free: 0.543 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.333e-05/0.2681, allocations: 70 kB / 0.5917 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.2683, allocations: 91.98 kB / 0.5918 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.2713, allocations: 1.236 MB / 0.593 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.2713, allocations: 4 kB / 0.593 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.2715, allocations: 40 kB / 0.5931 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.2715, allocations: 35.94 kB / 0.5931 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.2742, allocations: 0.9833 MB / 0.5941 GB, free: 13.98 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.008003/0.2822, allocations: 6.249 MB / 0.6002 GB, free: 7.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.2843, allocations: 0.6709 MB / 0.6008 GB, free: 6.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000643/0.285, allocations: 265.3 kB / 0.6011 GB, free: 6.398 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/0.2854, allocations: 417.8 kB / 0.6015 GB, free: 5.898 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.2855, allocations: 43.39 kB / 0.6015 GB, free: 5.848 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.875e-06/0.2855, allocations: 4 kB / 0.6015 GB, free: 5.844 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.007238/0.2927, allocations: 1.716 MB / 0.6032 GB, free: 4.098 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/0.2928, allocations: 158.2 kB / 0.6034 GB, free: 3.906 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.295, allocations: 1.165 MB / 0.6045 GB, free: 2.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.106e-05/0.2951, allocations: 33.7 kB / 0.6045 GB, free: 2.691 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/0.2956, allocations: 0.6006 MB / 0.6051 GB, free: 2.086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.2957, allocations: 145.9 kB / 0.6052 GB, free: 1.941 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.296, allocations: 150.5 kB / 0.6054 GB, free: 1.785 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2962, allocations: 345.9 kB / 0.6057 GB, free: 1.441 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009239/0.2971, allocations: 344.5 kB / 0.606 GB, free: 1.102 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.2983, allocations: 0.6659 MB / 0.6067 GB, free: 288 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.3001, allocations: 0.8324 MB / 0.6075 GB, free: 15.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.3002, allocations: 4 kB / 0.6075 GB, free: 15.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002942/0.3031, allocations: 1.128 MB / 0.6086 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.3032, allocations: 8 kB / 0.6086 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.3032, allocations: 8 kB / 0.6086 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009716/0.3042, allocations: 260.5 kB / 0.6089 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.3049, allocations: 175.7 kB / 0.609 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.3062, allocations: 0.8488 MB / 0.6099 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.3075, allocations: 186.9 kB / 0.6101 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.868e-05/0.3076, allocations: 35.98 kB / 0.6101 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001202/0.3088, allocations: 0.5253 MB / 0.6106 GB, free: 12.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001038/0.3099, allocations: 0.6347 MB / 0.6112 GB, free: 11.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001608/0.3115, allocations: 0.7974 MB / 0.612 GB, free: 10.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.666e-06/0.3115, allocations: 4 kB / 0.612 GB, free: 10.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002694/0.3142, allocations: 1.074 MB / 0.6131 GB, free: 9.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3143, allocations: 10.19 kB / 0.6131 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.3143, allocations: 16 kB / 0.6131 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008353/0.3151, allocations: 256.7 kB / 0.6133 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006328/0.3158, allocations: 167.7 kB / 0.6135 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.317, allocations: 0.8411 MB / 0.6143 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.3185, allocations: 147.7 kB / 0.6144 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.3187, allocations: 39.98 kB / 0.6145 GB, free: 7.863 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.0004427/0.3191, allocations: 232 kB / 0.6147 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004375/0.3195, allocations: 118.5 kB / 0.6148 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003636/0.3232, allocations: 0.9734 MB / 0.6158 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.3232, allocations: 4 kB / 0.6158 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3232, allocations: 0 / 0.6158 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3233, allocations: 0 / 0.6158 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004983/0.3282, allocations: 2.03 MB / 0.6178 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.3283, allocations: 4 kB / 0.6178 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.3286, allocations: 71.88 kB / 0.6178 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008307/0.3295, allocations: 252.7 kB / 0.6181 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/0.3295, allocations: 12 kB / 0.6181 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.3308, allocations: 0.8294 MB / 0.6189 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3308, allocations: 8 kB / 0.6189 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.3342, allocations: 1.113 MB / 0.62 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006145/0.3349, allocations: 263.5 kB / 0.6202 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.3351, allocations: 12 kB / 0.6202 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.3361, allocations: 83.89 kB / 0.6203 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3362, allocations: 47.81 kB / 0.6204 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/0.3363, allocations: 27.92 kB / 0.6204 GB, free: 1.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001644/0.338, allocations: 0.7997 MB / 0.6212 GB, free: 0.793 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.338, allocations: 0 / 0.6212 GB, free: 0.793 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002218/0.3402, allocations: 0.5654 MB / 0.6217 GB, free: 232 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.0008766/0.3411, allocations: 275.5 kB / 0.622 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003553/0.3447, allocations: 1.195 MB / 0.6232 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.3447, allocations: 4 kB / 0.6232 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008505/0.3456, allocations: 320.3 kB / 0.6235 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.3481, allocations: 0.5682 MB / 0.624 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.354, allocations: 2.016 MB / 0.626 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008731/0.3549, allocations: 1.062 MB / 0.627 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00128/0.3562, allocations: 245.6 kB / 0.6273 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.3565, allocations: 87.41 kB / 0.6273 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.3565, allocations: 0 / 0.6273 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.3147/0.6712, allocations: 24.9 MB / 0.6517 GB, free: 120.9 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)