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.001368/0.001368, allocations: 104 kB / 16.36 MB, free: 6.301 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.001462/0.001463, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.422/1.422, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001432/0.001432, allocations: 67.91 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2751, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.4822/0.7574, allocations: 61.24 MB / 0.8446 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01841/0.7759, allocations: 11.9 MB / 0.8562 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003864/0.7798, allocations: 59.44 kB / 0.8563 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002907/0.7828, allocations: 0.6767 MB / 0.8569 GB, free: 15.9 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008921/0.7918, allocations: 1.953 MB / 0.8588 GB, free: 14.74 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005246/0.797, allocations: 1.218 MB / 0.86 GB, free: 14.08 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006893/0.8039, allocations: 3.076 MB / 0.863 GB, free: 12.56 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.8062, allocations: 1.105 MB / 0.8641 GB, free: 12.08 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00411/0.8104, allocations: 1.34 MB / 0.8654 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.8126, allocations: 0.9128 MB / 0.8663 GB, free: 10.98 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.8129, allocations: 116 kB / 0.8664 GB, free: 10.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004432/0.8173, allocations: 1.467 MB / 0.8678 GB, free: 10.48 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004376/0.8178, allocations: 288.2 kB / 0.8681 GB, free: 10.3 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.8192, allocations: 0.6951 MB / 0.8688 GB, free: 9.863 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005433/0.8247, allocations: 2.336 MB / 0.8711 GB, free: 8.648 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.8247, allocations: 0 / 0.8711 GB, free: 8.648 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.103e-06/0.8247, allocations: 1.375 kB / 0.8711 GB, free: 8.648 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.052e-05/0.8248, allocations: 4 kB / 0.8711 GB, free: 8.645 MB / 0.67 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.004526/0.8293, allocations: 1.734 MB / 0.8728 GB, free: 7.305 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.8294, allocations: 8.969 kB / 0.8728 GB, free: 7.305 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.8317, allocations: 411.4 kB / 0.8732 GB, free: 7.117 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.8344, allocations: 1.163 MB / 0.8743 GB, free: 6.191 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.267e-05/0.8345, allocations: 69.16 kB / 0.8744 GB, free: 6.156 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.8346, allocations: 78.66 kB / 0.8745 GB, free: 6.133 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.837, allocations: 1.001 MB / 0.8754 GB, free: 5.473 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.837, allocations: 1.938 kB / 0.8754 GB, free: 5.473 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.453e-05/0.8371, allocations: 31.28 kB / 0.8755 GB, free: 5.449 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.8372, allocations: 22.97 kB / 0.8755 GB, free: 5.445 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.8396, allocations: 0.8788 MB / 0.8763 GB, free: 5.008 MB / 0.67 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.008071/0.8477, allocations: 4.96 MB / 0.8812 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/0.8514, allocations: 0.8364 MB / 0.882 GB, free: 168 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008014/0.8522, allocations: 319.2 kB / 0.8823 GB, free: 8 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008049/0.853, allocations: 0.9017 MB / 0.8832 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.8531, allocations: 38.31 kB / 0.8832 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.484e-06/0.8531, allocations: 0 / 0.8832 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.009002/0.8621, allocations: 1.921 MB / 0.8851 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.8622, allocations: 57.28 kB / 0.8852 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.8642, allocations: 1.071 MB / 0.8862 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.8644, allocations: 38.33 kB / 0.8862 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/0.8649, allocations: 0.5328 MB / 0.8868 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.8651, allocations: 167.4 kB / 0.8869 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.8654, allocations: 145.5 kB / 0.8871 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8655, allocations: 328 kB / 0.8874 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009815/0.8665, allocations: 321 kB / 0.8877 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.8677, allocations: 0.5457 MB / 0.8882 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.8696, allocations: 0.7274 MB / 0.8889 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.8696, allocations: 2.781 kB / 0.8889 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.004064/0.8736, allocations: 1.183 MB / 0.8901 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.8737, allocations: 11.06 kB / 0.8901 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.8737, allocations: 4.656 kB / 0.8901 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.875, allocations: 298.5 kB / 0.8904 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.8756, allocations: 141.6 kB / 0.8905 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.8772, allocations: 0.9064 MB / 0.8914 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.8787, allocations: 152.1 kB / 0.8915 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.8788, allocations: 34.86 kB / 0.8916 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001354/0.8802, allocations: 0.5239 MB / 0.8921 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001241/0.8814, allocations: 0.5349 MB / 0.8926 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002136/0.8836, allocations: 0.7166 MB / 0.8933 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.18e-05/0.8836, allocations: 4.906 kB / 0.8933 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.004191/0.8878, allocations: 1.165 MB / 0.8945 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.8878, allocations: 6.5 kB / 0.8945 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.8878, allocations: 5.406 kB / 0.8945 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.889, allocations: 300 kB / 0.8948 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.8896, allocations: 140.4 kB / 0.8949 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.8911, allocations: 0.8969 MB / 0.8958 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.8927, allocations: 138.2 kB / 0.8959 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.727e-05/0.8928, allocations: 31.42 kB / 0.8959 GB, free: 6.75 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (61): * Single equations (assignments): 60 * 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.0002915/0.8931, allocations: 222 kB / 0.8961 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.8933, allocations: 113 kB / 0.8962 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/0.8973, allocations: 1.15 MB / 0.8974 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.8974, allocations: 6.469 kB / 0.8974 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8974, allocations: 0 / 0.8974 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.8974, allocations: 3.984 kB / 0.8974 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005641/0.903, allocations: 2.234 MB / 0.8996 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.9031, allocations: 3.984 kB / 0.8996 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.9034, allocations: 80.11 kB / 0.8996 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.9045, allocations: 299.7 kB / 0.8999 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.9045, allocations: 19.92 kB / 0.8999 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.9061, allocations: 0.9268 MB / 0.9008 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.9061, allocations: 7.969 kB / 0.9009 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.91, allocations: 1.205 MB / 0.902 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006412/0.9107, allocations: 271.5 kB / 0.9023 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.9109, allocations: 19.88 kB / 0.9023 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008559/0.9117, allocations: 71.91 kB / 0.9024 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/0.9118, allocations: 39.33 kB / 0.9024 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.9119, allocations: 23.98 kB / 0.9024 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001267/0.9132, allocations: 0.7551 MB / 0.9032 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9132, allocations: 0 / 0.9032 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001791/0.915, allocations: 0.5771 MB / 0.9037 GB, free: 15.25 MB / 0.7012 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.0008813/0.9159, allocations: 395.8 kB / 0.9041 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003452/0.9194, allocations: 1.177 MB / 0.9053 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.9194, allocations: 256 / 0.9053 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009774/0.9204, allocations: 374.5 kB / 0.9056 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.9229, allocations: 0.5375 MB / 0.9061 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005367/0.9283, allocations: 2.076 MB / 0.9082 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006814/0.929, allocations: 1.059 MB / 0.9092 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/0.9293, allocations: 91.41 kB / 0.9093 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of SimCode: time 1.062e-06/0.9293, allocations: 0 / 0.9093 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of Templates: time 0.03423/0.9636, allocations: 24.55 MB / 0.9333 GB, free: 1.219 MB / 0.7169 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)