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.000956/0.0009559, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0008473/0.0008473, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.586/1.586, allocations: 292.5 MB / 0.5497 GB, free: 14.67 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.0005114/0.0005115, allocations: 14.75 kB / 0.6735 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2285, allocations: 116.3 MB / 0.7871 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06408/0.2926, allocations: 63.01 MB / 0.8486 GB, free: 12.86 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01757/0.3102, allocations: 12.89 MB / 0.8612 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002262/0.3125, allocations: 51.62 kB / 0.8613 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.3151, allocations: 0.7385 MB / 0.862 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006947/0.3221, allocations: 2.36 MB / 0.8643 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004439/0.3265, allocations: 1.528 MB / 0.8658 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004767/0.3313, allocations: 2.497 MB / 0.8682 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/0.3335, allocations: 1.033 MB / 0.8692 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.3359, allocations: 1.164 MB / 0.8704 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.3376, allocations: 0.7856 MB / 0.8711 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003618/0.338, allocations: 56 kB / 0.8712 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.3407, allocations: 0.8386 MB / 0.872 GB, free: 4.875 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005174/0.3412, allocations: 262.9 kB / 0.8723 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007127/0.3419, allocations: 356.9 kB / 0.8726 GB, free: 4.262 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002769/0.3447, allocations: 2.011 MB / 0.8746 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.3447, allocations: 0 / 0.8746 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3447, allocations: 0 / 0.8746 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.123e-05/0.3448, allocations: 4 kB / 0.8746 GB, free: 2.242 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.003632/0.3485, allocations: 1.775 MB / 0.8763 GB, free: 412 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3485, allocations: 12.02 kB / 0.8763 GB, free: 400 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008806/0.3494, allocations: 241.9 kB / 0.8766 GB, free: 156 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.3519, allocations: 1.361 MB / 0.8779 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.039e-05/0.3519, allocations: 78 kB / 0.878 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.3521, allocations: 100 kB / 0.8781 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.3541, allocations: 1.108 MB / 0.8791 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.3542, allocations: 7.844 kB / 0.8791 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-05/0.3543, allocations: 44 kB / 0.8792 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.3543, allocations: 24 kB / 0.8792 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.3562, allocations: 0.9212 MB / 0.8801 GB, free: 12.43 MB / 0.7012 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.006022/0.3623, allocations: 4.962 MB / 0.885 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.3637, allocations: 0.6428 MB / 0.8856 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006114/0.3643, allocations: 0.8238 MB / 0.8864 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.3643, allocations: 43.12 kB / 0.8864 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 1.884e-06/0.3643, allocations: 0 / 0.8864 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.007085/0.3714, allocations: 1.889 MB / 0.8883 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.3715, allocations: 55.97 kB / 0.8883 GB, free: 3.484 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.3731, allocations: 1.245 MB / 0.8895 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/0.3732, allocations: 45.7 kB / 0.8896 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004629/0.3737, allocations: 0.6026 MB / 0.8902 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.3739, allocations: 212.9 kB / 0.8904 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.3739, allocations: 19.94 kB / 0.8904 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.374, allocations: 337.9 kB / 0.8907 GB, free: 0.9961 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000661/0.3747, allocations: 293.8 kB / 0.891 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008048/0.3755, allocations: 0.5013 MB / 0.8915 GB, free: 136 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000742/0.3763, allocations: 363 kB / 0.8918 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3763, allocations: 4 kB / 0.8918 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004413/0.3807, allocations: 1.394 MB / 0.8932 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005557/0.3813, allocations: 1.427 MB / 0.8946 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3813, allocations: 4 kB / 0.8946 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/0.3818, allocations: 136.8 kB / 0.8947 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/0.3825, allocations: 171.8 kB / 0.8949 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007697/0.3833, allocations: 0.72 MB / 0.8956 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.3844, allocations: 175.1 kB / 0.8958 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.3845, allocations: 28 kB / 0.8958 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.3845, allocations: 4 kB / 0.8958 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004239/0.3888, allocations: 1.253 MB / 0.897 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3888, allocations: 4 kB / 0.897 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.3893, allocations: 145 kB / 0.8972 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/0.39, allocations: 167.8 kB / 0.8973 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009189/0.3909, allocations: 0.7123 MB / 0.898 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.3925, allocations: 174.3 kB / 0.8982 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/0.3926, allocations: 31.95 kB / 0.8982 GB, free: 9.09 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0009374/0.3935, allocations: 428.8 kB / 0.8986 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005217/0.3941, allocations: 130.4 kB / 0.8987 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/0.3989, allocations: 1.396 MB / 0.9001 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.399, allocations: 8 kB / 0.9001 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.399, allocations: 0 / 0.9001 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00407/0.403, allocations: 1.228 MB / 0.9013 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007043/0.4101, allocations: 2.774 MB / 0.904 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.4101, allocations: 7.984 kB / 0.904 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/0.4106, allocations: 119.8 kB / 0.9041 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/0.4111, allocations: 137 kB / 0.9043 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.4112, allocations: 19.98 kB / 0.9043 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004791/0.416, allocations: 2.544 MB / 0.9068 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.416, allocations: 12 kB / 0.9068 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005349/0.4214, allocations: 2.065 MB / 0.9088 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000761/0.4221, allocations: 347 kB / 0.9091 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/0.4224, allocations: 20 kB / 0.9092 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.4235, allocations: 87.91 kB / 0.9092 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.4236, allocations: 56.33 kB / 0.9093 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.4237, allocations: 35.97 kB / 0.9093 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001394/0.4251, allocations: 0.8894 MB / 0.9102 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.703e-06/0.4251, allocations: 0 / 0.9102 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002229/0.4273, allocations: 0.7252 MB / 0.9109 GB, free: 11.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009119/0.4282, allocations: 455.8 kB / 0.9113 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002665/0.4309, allocations: 1.164 MB / 0.9125 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4309, allocations: 0 / 0.9125 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.4324, allocations: 0.5995 MB / 0.9131 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/0.4362, allocations: 0.7519 MB / 0.9138 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005348/0.4415, allocations: 2.757 MB / 0.9165 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.4426, allocations: 1.199 MB / 0.9177 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001403/0.444, allocations: 307 kB / 0.9179 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.4443, allocations: 103.4 kB / 0.918 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.4443, allocations: 0 / 0.918 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.4469/0.8912, allocations: 30.31 MB / 0.9476 GB, free: 123.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: