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.000743/0.000743, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008774/0.0008775, allocations: 168.7 kB / 15.95 MB, free: 204 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.26/1.26, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.6/1.6, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004654/0.0004654, allocations: 19.03 kB / 0.6737 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1841, allocations: 116.3 MB / 0.7873 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05777/0.2419, allocations: 69.43 MB / 0.8551 GB, free: 6.371 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01614/0.2581, allocations: 14.07 MB / 0.8688 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.2597, allocations: 55.62 kB / 0.8689 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.2612, allocations: 0.5666 MB / 0.8694 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004506/0.2657, allocations: 1.977 MB / 0.8714 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.2682, allocations: 0.9852 MB / 0.8723 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004979/0.2732, allocations: 4.772 MB / 0.877 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.2747, allocations: 1.025 MB / 0.878 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.2768, allocations: 1.275 MB / 0.8792 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.2781, allocations: 1.081 MB / 0.8803 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.2782, allocations: 60 kB / 0.8803 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.2803, allocations: 0.9238 MB / 0.8812 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.2806, allocations: 270.7 kB / 0.8815 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.2809, allocations: 352.9 kB / 0.8818 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.2828, allocations: 2.089 MB / 0.8839 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2828, allocations: 0 / 0.8839 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2828, allocations: 0 / 0.8839 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.2829, allocations: 0 / 0.8839 GB, free: 8.781 MB / 0.7012 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.002874/0.2857, allocations: 1.807 MB / 0.8856 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2858, allocations: 8.031 kB / 0.8857 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000661/0.2864, allocations: 241.9 kB / 0.8859 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.2886, allocations: 1.423 MB / 0.8873 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/0.2886, allocations: 81.98 kB / 0.8874 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.2888, allocations: 103.9 kB / 0.8875 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.2906, allocations: 1.116 MB / 0.8885 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.2906, allocations: 11.88 kB / 0.8886 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.2907, allocations: 36 kB / 0.8886 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.2908, allocations: 28 kB / 0.8886 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.2925, allocations: 0.929 MB / 0.8895 GB, free: 2.852 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.005076/0.2976, allocations: 4.919 MB / 0.8943 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.2989, allocations: 0.635 MB / 0.8949 GB, free: 13 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006598/0.2995, allocations: 370.3 kB / 0.8953 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005556/0.3001, allocations: 0.8315 MB / 0.8961 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3001, allocations: 43.12 kB / 0.8962 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.014e-06/0.3001, allocations: 0 / 0.8962 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.006244/0.3064, allocations: 1.892 MB / 0.898 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.3064, allocations: 59.97 kB / 0.8981 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.3078, allocations: 1.194 MB / 0.8992 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/0.3079, allocations: 45.69 kB / 0.8993 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/0.3084, allocations: 0.6026 MB / 0.8999 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.3085, allocations: 209 kB / 0.9001 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.3086, allocations: 16 kB / 0.9001 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3087, allocations: 333.9 kB / 0.9004 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/0.3093, allocations: 297.8 kB / 0.9007 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007372/0.31, allocations: 0.5045 MB / 0.9012 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006582/0.3107, allocations: 371 kB / 0.9015 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3107, allocations: 0 / 0.9015 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004065/0.3148, allocations: 1.402 MB / 0.9029 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.3149, allocations: 200.5 kB / 0.9031 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3149, allocations: 12 kB / 0.9031 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005093/0.3155, allocations: 140.7 kB / 0.9032 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.316, allocations: 171.8 kB / 0.9034 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007292/0.3168, allocations: 0.7161 MB / 0.9041 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009846/0.3178, allocations: 171.1 kB / 0.9042 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.3178, allocations: 31.98 kB / 0.9043 GB, free: 3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.3179, allocations: 4 kB / 0.9043 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003786/0.3217, allocations: 1.25 MB / 0.9055 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3217, allocations: 4 kB / 0.9055 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004297/0.3221, allocations: 144.8 kB / 0.9056 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/0.3227, allocations: 171.7 kB / 0.9058 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007117/0.3234, allocations: 0.7162 MB / 0.9065 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009311/0.3243, allocations: 163.2 kB / 0.9067 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.3244, allocations: 28 kB / 0.9067 GB, free: 0.4961 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.0005322/0.3249, allocations: 416.9 kB / 0.9071 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.3251, allocations: 134.5 kB / 0.9072 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/0.3292, allocations: 1.396 MB / 0.9086 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.3292, allocations: 12 kB / 0.9086 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3292, allocations: 3.938 kB / 0.9086 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003637/0.3329, allocations: 1.228 MB / 0.9098 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005573/0.3384, allocations: 2.739 MB / 0.9125 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.3385, allocations: 7.984 kB / 0.9125 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.3389, allocations: 119.8 kB / 0.9126 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/0.3393, allocations: 144.8 kB / 0.9127 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.3394, allocations: 23.98 kB / 0.9128 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004237/0.3437, allocations: 2.466 MB / 0.9152 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.3437, allocations: 8 kB / 0.9152 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/0.3483, allocations: 1.855 MB / 0.917 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005511/0.3489, allocations: 327.2 kB / 0.9173 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.3491, allocations: 23.92 kB / 0.9173 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007603/0.3498, allocations: 95.91 kB / 0.9174 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3499, allocations: 52.33 kB / 0.9175 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/0.35, allocations: 35.97 kB / 0.9175 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001101/0.3511, allocations: 0.8581 MB / 0.9183 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3511, allocations: 0 / 0.9183 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00163/0.3528, allocations: 0.7018 MB / 0.919 GB, free: 3.457 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.0006945/0.3535, allocations: 433.5 kB / 0.9194 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.3558, allocations: 1.168 MB / 0.9206 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3558, allocations: 0 / 0.9206 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.3571, allocations: 0.5918 MB / 0.9211 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/0.3601, allocations: 0.7637 MB / 0.9219 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3499/0.7099, allocations: 2.753 MB / 0.9246 GB, free: 132 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/0.7107, allocations: 1.175 MB / 0.9257 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001503/0.7122, allocations: 304.5 kB / 0.926 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.7125, allocations: 102.5 kB / 0.9261 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of SimCode: time 8.51e-07/0.7125, allocations: 0 / 0.9261 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.04827/0.7608, allocations: 29.66 MB / 0.9551 GB, free: 121.1 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: