Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 112.1 kB / 16.38 MB, free: 5.547 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.001787/0.001787, allocations: 190.7 kB / 17.31 MB, free: 5.188 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.2 MB, free: 12.26 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.832/1.832, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001544/0.001544, allocations: 74.86 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2101, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3981/0.6083, allocations: 75.22 MB / 0.8583 GB, free: 14.83 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02184/0.6302, allocations: 15.05 MB / 0.873 GB, free: 4.047 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002947/0.6332, allocations: 64.12 kB / 0.873 GB, free: 4.023 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.6361, allocations: 0.8238 MB / 0.8738 GB, free: 3.508 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008411/0.6445, allocations: 2.563 MB / 0.8763 GB, free: 1.969 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004195/0.6487, allocations: 1.41 MB / 0.8777 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007268/0.656, allocations: 4.356 MB / 0.882 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00349/0.6595, allocations: 1.431 MB / 0.8834 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006481/0.666, allocations: 1.643 MB / 0.885 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003328/0.6694, allocations: 1.217 MB / 0.8861 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006567/0.6701, allocations: 163.1 kB / 0.8863 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004365/0.6744, allocations: 1.409 MB / 0.8877 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007214/0.6752, allocations: 398.3 kB / 0.8881 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002125/0.6773, allocations: 0.9043 MB / 0.8889 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005154/0.6825, allocations: 2.874 MB / 0.8917 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6825, allocations: 1.906 kB / 0.8917 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6825, allocations: 0 / 0.8917 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.121e-05/0.6826, allocations: 0 / 0.8917 GB, free: 8.148 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006092/0.6887, allocations: 2.08 MB / 0.8938 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.376e-05/0.6888, allocations: 8.781 kB / 0.8938 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.6903, allocations: 228.3 kB / 0.894 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003586/0.6939, allocations: 1.506 MB / 0.8955 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.808e-05/0.694, allocations: 79.77 kB / 0.8956 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.6942, allocations: 101.8 kB / 0.8956 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.6965, allocations: 1.108 MB / 0.8967 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.6965, allocations: 5.844 kB / 0.8967 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.6966, allocations: 40.19 kB / 0.8968 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/0.6967, allocations: 25.81 kB / 0.8968 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.6987, allocations: 0.8935 MB / 0.8977 GB, free: 4.035 MB / 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.00674/0.7054, allocations: 4.91 MB / 0.9025 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.7069, allocations: 0.6203 MB / 0.9031 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007465/0.7077, allocations: 355.2 kB / 0.9034 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/0.7083, allocations: 0.8277 MB / 0.9042 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.7084, allocations: 38.59 kB / 0.9043 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.295e-06/0.7084, allocations: 4 kB / 0.9043 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.007638/0.716, allocations: 1.69 MB / 0.9059 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.7161, allocations: 57.97 kB / 0.906 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.718, allocations: 1.224 MB / 0.9072 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.7181, allocations: 38.83 kB / 0.9072 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/0.7186, allocations: 0.6104 MB / 0.9078 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.7188, allocations: 205 kB / 0.908 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.7191, allocations: 162.5 kB / 0.9081 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.7192, allocations: 337.9 kB / 0.9085 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007003/0.7199, allocations: 284.7 kB / 0.9087 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009026/0.7208, allocations: 0.4968 MB / 0.9092 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.7223, allocations: 0.709 MB / 0.9099 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.7223, allocations: 0 / 0.9099 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004967/0.7273, allocations: 1.277 MB / 0.9112 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.7274, allocations: 8 kB / 0.9112 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.7274, allocations: 5 kB / 0.9112 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.728, allocations: 137.5 kB / 0.9113 GB, free: 8.023 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/0.7287, allocations: 159.8 kB / 0.9115 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008663/0.7295, allocations: 0.705 MB / 0.9121 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.7309, allocations: 127 kB / 0.9123 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.324e-05/0.731, allocations: 35.98 kB / 0.9123 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001119/0.7321, allocations: 0.5515 MB / 0.9128 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000858/0.733, allocations: 496.7 kB / 0.9133 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001426/0.7344, allocations: 0.709 MB / 0.914 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.428e-06/0.7345, allocations: 4 kB / 0.914 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004986/0.7394, allocations: 1.269 MB / 0.9153 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.7395, allocations: 9.281 kB / 0.9153 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.7395, allocations: 4 kB / 0.9153 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000534/0.74, allocations: 145.5 kB / 0.9154 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/0.7407, allocations: 151.8 kB / 0.9155 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.7417, allocations: 0.7053 MB / 0.9162 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.7436, allocations: 99.52 kB / 0.9163 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.7438, allocations: 35.98 kB / 0.9164 GB, free: 2.648 MB / 0.7012 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004357/0.7442, allocations: 220.1 kB / 0.9166 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006963/0.7449, allocations: 134.4 kB / 0.9167 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004952/0.7499, allocations: 1.275 MB / 0.9179 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004353/0.7543, allocations: 1.103 MB / 0.919 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.7543, allocations: 0 / 0.919 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008601/0.7552, allocations: 295.2 kB / 0.9193 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000433/0.7556, allocations: 15.94 kB / 0.9193 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.7567, allocations: 51.92 kB / 0.9194 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.7568, allocations: 44.5 kB / 0.9194 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00277/0.7596, allocations: 0.9676 MB / 0.9204 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002608/0.7622, allocations: 1.338 MB / 0.9217 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006903/0.7629, allocations: 324.3 kB / 0.922 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001385/0.7643, allocations: 0.8575 MB / 0.9228 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of Backend: time 2.41e-07/0.7643, allocations: 0 / 0.9228 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004326/0.7686, allocations: 1.381 MB / 0.9242 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of SimCode: time 0.005963/0.7746, allocations: 3.145 MB / 0.9272 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of Templates: time 0.05504/0.8297, allocations: 33.64 MB / 0.9601 GB, free: 6.25 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)