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.001117/0.001118, allocations: 102.8 kB / 16.29 MB, free: 6.434 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.00108/0.00108, allocations: 187.5 kB / 17.22 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.338/1.338, allocations: 205.1 MB / 223.1 MB, free: 12.34 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.78/1.78, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.002608/0.002608, allocations: 59.91 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2464, allocations: 114.5 MB / 0.7841 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.4014/0.6478, allocations: 61.26 MB / 0.8439 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.663, allocations: 11.89 MB / 0.8555 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.6656, allocations: 60.28 kB / 0.8556 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002505/0.6682, allocations: 0.6801 MB / 0.8562 GB, free: 52 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006399/0.6746, allocations: 1.951 MB / 0.8581 GB, free: 14.88 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.6782, allocations: 1.228 MB / 0.8593 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004586/0.6828, allocations: 3.077 MB / 0.8623 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.6844, allocations: 1.102 MB / 0.8634 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003624/0.6881, allocations: 1.338 MB / 0.8647 GB, free: 11.55 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.6899, allocations: 0.9124 MB / 0.8656 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.6901, allocations: 116.9 kB / 0.8657 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003387/0.6935, allocations: 1.458 MB / 0.8671 GB, free: 10.62 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003674/0.6939, allocations: 296.8 kB / 0.8674 GB, free: 10.43 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009639/0.6949, allocations: 0.6996 MB / 0.8681 GB, free: 9.996 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003867/0.6988, allocations: 2.326 MB / 0.8704 GB, free: 8.824 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6988, allocations: 1.344 kB / 0.8704 GB, free: 8.824 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6988, allocations: 0 / 0.8704 GB, free: 8.824 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.214e-05/0.6988, allocations: 0.5625 kB / 0.8704 GB, free: 8.824 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.003277/0.7021, allocations: 1.738 MB / 0.8721 GB, free: 7.48 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7022, allocations: 13.44 kB / 0.8721 GB, free: 7.477 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.7043, allocations: 402.5 kB / 0.8725 GB, free: 7.297 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.7065, allocations: 1.116 MB / 0.8736 GB, free: 6.391 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003309/0.7069, allocations: 122.9 kB / 0.8737 GB, free: 6.336 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.707, allocations: 83.53 kB / 0.8738 GB, free: 6.309 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.709, allocations: 1.005 MB / 0.8747 GB, free: 5.652 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.7091, allocations: 5.094 kB / 0.8747 GB, free: 5.648 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.7092, allocations: 31.81 kB / 0.8748 GB, free: 5.621 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.7092, allocations: 22.84 kB / 0.8748 GB, free: 5.621 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/0.7114, allocations: 0.8912 MB / 0.8757 GB, free: 5.176 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.006745/0.7182, allocations: 4.959 MB / 0.8805 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/0.7214, allocations: 0.8478 MB / 0.8813 GB, free: 340 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/0.7222, allocations: 316.4 kB / 0.8816 GB, free: 188 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/0.7228, allocations: 0.912 MB / 0.8825 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.7229, allocations: 40.8 kB / 0.8826 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.304e-06/0.7229, allocations: 2.188 kB / 0.8826 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.008142/0.731, allocations: 1.983 MB / 0.8845 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.7311, allocations: 56.25 kB / 0.8846 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.7328, allocations: 1.079 MB / 0.8856 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.709e-05/0.7329, allocations: 38.73 kB / 0.8856 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/0.7333, allocations: 0.5211 MB / 0.8862 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.7335, allocations: 166.9 kB / 0.8863 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.7338, allocations: 146.9 kB / 0.8865 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7339, allocations: 327.9 kB / 0.8868 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009116/0.7348, allocations: 326.4 kB / 0.8871 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.7359, allocations: 0.5461 MB / 0.8876 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.7377, allocations: 0.7328 MB / 0.8883 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.7378, allocations: 5.031 kB / 0.8883 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003932/0.7417, allocations: 1.21 MB / 0.8895 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.7417, allocations: 10.97 kB / 0.8895 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.7418, allocations: 3.844 kB / 0.8895 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.743, allocations: 318.5 kB / 0.8898 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.7436, allocations: 137.8 kB / 0.89 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.7452, allocations: 0.9158 MB / 0.8909 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.7467, allocations: 157.5 kB / 0.891 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.7468, allocations: 36.88 kB / 0.891 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001395/0.7482, allocations: 0.5311 MB / 0.8916 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001093/0.7493, allocations: 0.5331 MB / 0.8921 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001672/0.751, allocations: 0.7379 MB / 0.8928 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/0.751, allocations: 2.062 kB / 0.8928 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003692/0.7547, allocations: 1.19 MB / 0.894 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7548, allocations: 11.31 kB / 0.894 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.7548, allocations: 3.562 kB / 0.894 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.7558, allocations: 315 kB / 0.8943 GB, free: 7.672 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.7564, allocations: 132.3 kB / 0.8944 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.758, allocations: 0.917 MB / 0.8953 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.7595, allocations: 135.4 kB / 0.8954 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.7596, allocations: 31.95 kB / 0.8955 GB, free: 6.832 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.0003011/0.7599, allocations: 221 kB / 0.8957 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003378/0.7602, allocations: 119.2 kB / 0.8958 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003883/0.7641, allocations: 1.162 MB / 0.8969 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/0.7642, allocations: 6.25 kB / 0.8969 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.7642, allocations: 4 kB / 0.8969 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.7642, allocations: 3.984 kB / 0.8969 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005669/0.7699, allocations: 2.245 MB / 0.8991 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.7699, allocations: 4 kB / 0.8991 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/0.7703, allocations: 71.89 kB / 0.8992 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.7713, allocations: 305.2 kB / 0.8995 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.7714, allocations: 16 kB / 0.8995 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.7729, allocations: 0.9541 MB / 0.9004 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7729, allocations: 4 kB / 0.9004 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003734/0.7766, allocations: 1.216 MB / 0.9016 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006386/0.7773, allocations: 272.3 kB / 0.9019 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.7774, allocations: 19.92 kB / 0.9019 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/0.7783, allocations: 71.92 kB / 0.902 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.7784, allocations: 43.31 kB / 0.902 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/0.7785, allocations: 23.98 kB / 0.902 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001227/0.7797, allocations: 0.7551 MB / 0.9028 GB, free: 68 kB / 0.6856 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7797, allocations: 0 / 0.9028 GB, free: 68 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001776/0.7815, allocations: 0.5732 MB / 0.9033 GB, free: 15.49 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.0008372/0.7823, allocations: 398.7 kB / 0.9037 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003253/0.7856, allocations: 1.197 MB / 0.9049 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7856, allocations: 4.062 kB / 0.9049 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009245/0.7866, allocations: 370.5 kB / 0.9052 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.7891, allocations: 0.5398 MB / 0.9058 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.7944, allocations: 2.047 MB / 0.9078 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006526/0.7951, allocations: 1.063 MB / 0.9088 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009888/0.7961, allocations: 246.9 kB / 0.909 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.7963, allocations: 79.42 kB / 0.9091 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of SimCode: time 6.01e-07/0.7963, allocations: 3.938 kB / 0.9091 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of Templates: time 0.04496/0.8413, allocations: 25.83 MB / 0.9343 GB, free: 128 kB / 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)