Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001163/0.001163, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001404/0.001404, allocations: 193.5 kB / 16.13 MB, free: 6.609 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.355/1.355, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 292.2 MB / 0.5484 GB, free: 13.64 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001361/0.001362, allocations: 64.61 kB / 0.6708 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2292, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.0563/0.2856, allocations: 60.9 MB / 0.8421 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.3014, allocations: 11.97 MB / 0.8538 GB, free: 4.914 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/0.3034, allocations: 55.62 kB / 0.8539 GB, free: 4.859 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.3053, allocations: 0.5516 MB / 0.8544 GB, free: 4.305 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004911/0.3102, allocations: 1.785 MB / 0.8562 GB, free: 2.512 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.3131, allocations: 1.097 MB / 0.8572 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005536/0.3186, allocations: 3.896 MB / 0.861 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.3204, allocations: 0.9158 MB / 0.8619 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/0.3235, allocations: 1.163 MB / 0.8631 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.3249, allocations: 0.9138 MB / 0.864 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.3251, allocations: 56 kB / 0.864 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.3279, allocations: 1.357 MB / 0.8653 GB, free: 9.07 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.3282, allocations: 242.8 kB / 0.8656 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007743/0.329, allocations: 0.6334 MB / 0.8662 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003152/0.3322, allocations: 2.263 MB / 0.8684 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3322, allocations: 0 / 0.8684 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of FrontEnd: time 7.62e-07/0.3322, allocations: 0 / 0.8684 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.3322, allocations: 4 kB / 0.8684 GB, free: 5.922 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003181/0.3354, allocations: 1.738 MB / 0.8701 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3355, allocations: 8.031 kB / 0.8701 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.3376, allocations: 410.8 kB / 0.8705 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.3397, allocations: 1.128 MB / 0.8716 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/0.34, allocations: 121.9 kB / 0.8717 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.3402, allocations: 80 kB / 0.8718 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.3422, allocations: 0.9799 MB / 0.8727 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.3422, allocations: 0 / 0.8727 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/0.3423, allocations: 32 kB / 0.8728 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.3423, allocations: 24 kB / 0.8728 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.3447, allocations: 0.886 MB / 0.8737 GB, free: 380 kB / 0.6856 GB 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.007458/0.3522, allocations: 4.584 MB / 0.8781 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/0.3557, allocations: 0.8476 MB / 0.879 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/0.3565, allocations: 318 kB / 0.8793 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006747/0.3571, allocations: 0.9029 MB / 0.8802 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.3572, allocations: 39 kB / 0.8802 GB, free: 9.16 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 3.487e-06/0.3572, allocations: 0 / 0.8802 GB, free: 9.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.00888/0.3661, allocations: 1.982 MB / 0.8821 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.3662, allocations: 55.84 kB / 0.8822 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.3678, allocations: 1.051 MB / 0.8832 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.183e-05/0.3679, allocations: 41.7 kB / 0.8832 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.3683, allocations: 0.5158 MB / 0.8837 GB, free: 5.445 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.3684, allocations: 165.6 kB / 0.8839 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.3687, allocations: 134 kB / 0.884 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3688, allocations: 341.9 kB / 0.8844 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008854/0.3697, allocations: 318.8 kB / 0.8847 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.3708, allocations: 0.5113 MB / 0.8852 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.3726, allocations: 0.6855 MB / 0.8858 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.3727, allocations: 4 kB / 0.8858 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003671/0.3763, allocations: 1.163 MB / 0.887 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3764, allocations: 8 kB / 0.887 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3764, allocations: 7.984 kB / 0.887 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.3777, allocations: 308.9 kB / 0.8873 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.3782, allocations: 127.8 kB / 0.8874 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.3797, allocations: 0.9113 MB / 0.8883 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.381, allocations: 175.2 kB / 0.8885 GB, free: 444 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/0.3811, allocations: 31.98 kB / 0.8885 GB, free: 412 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00125/0.3824, allocations: 0.5244 MB / 0.889 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001064/0.3835, allocations: 0.5156 MB / 0.8895 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001627/0.3851, allocations: 0.6777 MB / 0.8902 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.348e-06/0.3851, allocations: 4 kB / 0.8902 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003527/0.3887, allocations: 1.144 MB / 0.8913 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3887, allocations: 12.03 kB / 0.8913 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.3887, allocations: 4 kB / 0.8913 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.3898, allocations: 312.5 kB / 0.8916 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.3904, allocations: 123.8 kB / 0.8917 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.3918, allocations: 0.907 MB / 0.8926 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.3931, allocations: 163.5 kB / 0.8928 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.392e-05/0.3932, allocations: 31.98 kB / 0.8928 GB, free: 11.83 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002415/0.3935, allocations: 227.4 kB / 0.893 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/0.3937, allocations: 110.6 kB / 0.8931 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.3976, allocations: 1.155 MB / 0.8942 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.3976, allocations: 8 kB / 0.8942 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3976, allocations: 0 / 0.8942 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3976, allocations: 3.984 kB / 0.8943 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005484/0.4031, allocations: 2.245 MB / 0.8964 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.4032, allocations: 0 / 0.8964 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.4035, allocations: 71.88 kB / 0.8965 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.4046, allocations: 320.6 kB / 0.8968 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.4046, allocations: 19.98 kB / 0.8968 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.406, allocations: 0.9413 MB / 0.8978 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.406, allocations: 0 / 0.8978 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/0.4096, allocations: 1.224 MB / 0.899 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/0.4101, allocations: 271.5 kB / 0.8992 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.4103, allocations: 16 kB / 0.8992 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009387/0.4113, allocations: 91.8 kB / 0.8993 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.4114, allocations: 47.27 kB / 0.8994 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.831e-05/0.4115, allocations: 23.98 kB / 0.8994 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001175/0.4126, allocations: 0.743 MB / 0.9001 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4127, allocations: 0 / 0.9001 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001542/0.4142, allocations: 0.5654 MB / 0.9007 GB, free: 3.555 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008655/0.4151, allocations: 384 kB / 0.901 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003214/0.4183, allocations: 1.144 MB / 0.9021 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.4183, allocations: 4 kB / 0.9021 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009457/0.4193, allocations: 382.7 kB / 0.9025 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.4218, allocations: 0.5262 MB / 0.903 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.4276, allocations: 2.462 MB / 0.9054 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.4283, allocations: 1.062 MB / 0.9065 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001053/0.4294, allocations: 236.3 kB / 0.9067 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.4296, allocations: 75.42 kB / 0.9068 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of SimCode: time 6.22e-07/0.4296, allocations: 4 kB / 0.9068 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of Templates: time 0.3896/0.8193, allocations: 24.59 MB / 0.9308 GB, free: 131.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)