Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.001311/0.001311, allocations: 177.3 kB / 15.94 MB, free: 228 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.272/1.272, 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.562/1.562, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0004935/0.0004935, allocations: 17.91 kB / 0.6735 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2181, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05485/0.273, allocations: 62.99 MB / 0.8486 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.2896, allocations: 12.88 MB / 0.8612 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.2916, allocations: 51.62 kB / 0.8612 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.2937, allocations: 0.75 MB / 0.862 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006154/0.2999, allocations: 2.352 MB / 0.8643 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.3039, allocations: 1.533 MB / 0.8658 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004493/0.3084, allocations: 2.499 MB / 0.8682 GB, free: 8.742 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.3099, allocations: 1.029 MB / 0.8692 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/0.3119, allocations: 1.16 MB / 0.8703 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.313, allocations: 0.7934 MB / 0.8711 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.3131, allocations: 56 kB / 0.8712 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.3153, allocations: 0.8347 MB / 0.872 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.3155, allocations: 262.9 kB / 0.8722 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.3159, allocations: 356.9 kB / 0.8726 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.3179, allocations: 2.015 MB / 0.8745 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.3179, allocations: 0 / 0.8745 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3179, allocations: 0 / 0.8745 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.296e-05/0.318, allocations: 0 / 0.8745 GB, free: 2.199 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.003357/0.3213, allocations: 1.783 MB / 0.8763 GB, free: 360 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3214, allocations: 12.03 kB / 0.8763 GB, free: 348 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007436/0.3221, allocations: 245.8 kB / 0.8765 GB, free: 100 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.3243, allocations: 1.369 MB / 0.8779 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-05/0.3244, allocations: 81.98 kB / 0.8779 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.3245, allocations: 104 kB / 0.878 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.3264, allocations: 1.1 MB / 0.8791 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.3264, allocations: 3.938 kB / 0.8791 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.024e-05/0.3265, allocations: 44 kB / 0.8792 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.3266, allocations: 28 kB / 0.8792 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.3284, allocations: 0.9251 MB / 0.8801 GB, free: 12.36 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.00603/0.3344, allocations: 4.974 MB / 0.885 GB, free: 7.098 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.3359, allocations: 0.6389 MB / 0.8856 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007209/0.3366, allocations: 0.8277 MB / 0.8864 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3367, allocations: 39.12 kB / 0.8864 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.144e-06/0.3367, allocations: 0 / 0.8864 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.007307/0.344, allocations: 1.885 MB / 0.8883 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.3441, allocations: 55.97 kB / 0.8883 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.3458, allocations: 1.257 MB / 0.8895 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.614e-05/0.346, allocations: 41.7 kB / 0.8896 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00048/0.3464, allocations: 0.6026 MB / 0.8902 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.3466, allocations: 220.8 kB / 0.8904 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.3467, allocations: 16 kB / 0.8904 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3468, allocations: 330 kB / 0.8907 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/0.3474, allocations: 293.8 kB / 0.891 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007975/0.3483, allocations: 0.5085 MB / 0.8915 GB, free: 52 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007403/0.349, allocations: 359 kB / 0.8918 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.349, allocations: 0 / 0.8918 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004501/0.3535, allocations: 1.394 MB / 0.8932 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005021/0.354, allocations: 1.419 MB / 0.8946 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3541, allocations: 4 kB / 0.8946 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/0.3547, allocations: 152.7 kB / 0.8947 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/0.3553, allocations: 159.8 kB / 0.8949 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008527/0.3562, allocations: 0.7161 MB / 0.8956 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.3574, allocations: 175 kB / 0.8957 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/0.3575, allocations: 35.98 kB / 0.8958 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.3575, allocations: 6.812 kB / 0.8958 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004189/0.3617, allocations: 1.249 MB / 0.897 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3617, allocations: 0 / 0.897 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000474/0.3622, allocations: 149.1 kB / 0.8971 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.3628, allocations: 167.8 kB / 0.8973 GB, free: 9.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007302/0.3636, allocations: 0.7123 MB / 0.898 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.3648, allocations: 167.1 kB / 0.8982 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.3649, allocations: 39.94 kB / 0.8982 GB, free: 9.016 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.0006437/0.3655, allocations: 424.8 kB / 0.8986 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.3657, allocations: 130.4 kB / 0.8987 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00444/0.3702, allocations: 1.392 MB / 0.9001 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.3702, allocations: 11.98 kB / 0.9001 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3702, allocations: 7.938 kB / 0.9001 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003989/0.3742, allocations: 1.236 MB / 0.9013 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006427/0.3807, allocations: 2.766 MB / 0.904 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.3807, allocations: 4 kB / 0.904 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004737/0.3812, allocations: 124.2 kB / 0.9041 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/0.3816, allocations: 136.8 kB / 0.9043 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.3817, allocations: 19.98 kB / 0.9043 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004666/0.3864, allocations: 2.548 MB / 0.9068 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3864, allocations: 4 kB / 0.9068 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005162/0.3916, allocations: 2.061 MB / 0.9088 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/0.3922, allocations: 346.9 kB / 0.9091 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.3923, allocations: 16 kB / 0.9091 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/0.3932, allocations: 95.97 kB / 0.9092 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.3933, allocations: 52.33 kB / 0.9093 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.504e-05/0.3934, allocations: 35.97 kB / 0.9093 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001175/0.3946, allocations: 0.8972 MB / 0.9102 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.683e-06/0.3946, allocations: 0 / 0.9102 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001787/0.3964, allocations: 0.7251 MB / 0.9109 GB, free: 11.44 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.0007279/0.3971, allocations: 447.8 kB / 0.9113 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.3994, allocations: 1.164 MB / 0.9125 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3994, allocations: 0 / 0.9125 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.4008, allocations: 0.5956 MB / 0.913 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/0.4038, allocations: 0.7591 MB / 0.9138 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.4074, allocations: 2.765 MB / 0.9165 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/0.4081, allocations: 1.195 MB / 0.9177 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001122/0.4093, allocations: 314.9 kB / 0.918 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.4095, allocations: 107.4 kB / 0.9181 GB, free: 4 MB / 0.7325 GB Notification: Performance of SimCode: time 4.4e-07/0.4095, allocations: 0 / 0.9181 GB, free: 4 MB / 0.7325 GB Notification: Performance of Templates: time 0.4238/0.8333, allocations: 30.28 MB / 0.9476 GB, free: 124 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: