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.001471/0.001471, allocations: 107.2 kB / 16.36 MB, free: 6.414 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.001622/0.001622, allocations: 194.3 kB / 17.3 MB, free: 5.789 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.321/1.321, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.744/1.744, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001638/0.001638, allocations: 71.03 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2201, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.4378/0.658, allocations: 75.19 MB / 0.8582 GB, free: 14.75 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0211/0.6791, allocations: 15.06 MB / 0.8729 GB, free: 3.965 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002958/0.6821, allocations: 68.09 kB / 0.873 GB, free: 3.938 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002466/0.6846, allocations: 0.8338 MB / 0.8738 GB, free: 3.414 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007453/0.6921, allocations: 2.552 MB / 0.8763 GB, free: 1.887 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.6959, allocations: 1.41 MB / 0.8777 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006127/0.702, allocations: 4.368 MB / 0.8819 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.7042, allocations: 1.433 MB / 0.8833 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003637/0.7078, allocations: 1.635 MB / 0.8849 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.7098, allocations: 1.23 MB / 0.8861 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002763/0.7101, allocations: 164.6 kB / 0.8863 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003226/0.7133, allocations: 1.409 MB / 0.8877 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004225/0.7137, allocations: 405.8 kB / 0.888 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.7149, allocations: 0.9019 MB / 0.8889 GB, free: 10 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004369/0.7192, allocations: 2.877 MB / 0.8917 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7193, allocations: 0 / 0.8917 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7193, allocations: 0.9062 kB / 0.8917 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.297e-05/0.7193, allocations: 0 / 0.8917 GB, free: 8.066 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.004156/0.7235, allocations: 2.088 MB / 0.8938 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.7235, allocations: 9.781 kB / 0.8938 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009016/0.7244, allocations: 230.5 kB / 0.894 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.7272, allocations: 1.446 MB / 0.8954 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/0.7273, allocations: 80.34 kB / 0.8955 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.7275, allocations: 101.9 kB / 0.8956 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.7296, allocations: 1.097 MB / 0.8967 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.7296, allocations: 1.156 kB / 0.8967 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.807e-05/0.7297, allocations: 46.27 kB / 0.8967 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/0.7298, allocations: 28.02 kB / 0.8967 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.7318, allocations: 0.8945 MB / 0.8976 GB, free: 3.988 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.007047/0.7388, allocations: 4.918 MB / 0.9024 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.7402, allocations: 0.613 MB / 0.903 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007046/0.741, allocations: 348.8 kB / 0.9033 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006815/0.7417, allocations: 0.8354 MB / 0.9041 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.7417, allocations: 42.22 kB / 0.9042 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.485e-06/0.7417, allocations: 0 / 0.9042 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.006953/0.7487, allocations: 1.69 MB / 0.9058 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.7487, allocations: 57.31 kB / 0.9059 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.7505, allocations: 1.224 MB / 0.9071 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.7507, allocations: 45.7 kB / 0.9071 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.7512, allocations: 0.6065 MB / 0.9077 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.7514, allocations: 209.9 kB / 0.9079 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.7516, allocations: 154.6 kB / 0.9081 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7518, allocations: 341.8 kB / 0.9084 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006527/0.7524, allocations: 292.7 kB / 0.9087 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008209/0.7533, allocations: 492.8 kB / 0.9091 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.7546, allocations: 0.709 MB / 0.9098 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7546, allocations: 0 / 0.9098 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004651/0.7593, allocations: 1.277 MB / 0.9111 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7593, allocations: 9.25 kB / 0.9111 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.7593, allocations: 4 kB / 0.9111 GB, free: 8.215 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/0.7599, allocations: 150.4 kB / 0.9112 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.7606, allocations: 159.7 kB / 0.9114 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000805/0.7614, allocations: 0.7006 MB / 0.9121 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.7625, allocations: 131 kB / 0.9122 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.7626, allocations: 27.98 kB / 0.9122 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00105/0.7637, allocations: 0.5565 MB / 0.9128 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008096/0.7645, allocations: 496.8 kB / 0.9132 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00133/0.7658, allocations: 0.705 MB / 0.9139 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.7658, allocations: 0 / 0.9139 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004529/0.7704, allocations: 1.273 MB / 0.9152 GB, free: 3.859 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.7704, allocations: 8 kB / 0.9152 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.7704, allocations: 7.938 kB / 0.9152 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004758/0.7709, allocations: 133.9 kB / 0.9153 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.7715, allocations: 159.8 kB / 0.9155 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007708/0.7723, allocations: 0.7065 MB / 0.9162 GB, free: 2.824 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.7734, allocations: 103.5 kB / 0.9163 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.7735, allocations: 31.98 kB / 0.9163 GB, free: 2.691 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.0002305/0.7738, allocations: 224.1 kB / 0.9165 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.774, allocations: 130.4 kB / 0.9166 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004505/0.7785, allocations: 1.273 MB / 0.9179 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.7786, allocations: 8 kB / 0.9179 GB, free: 1.043 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.7786, allocations: 0 / 0.9179 GB, free: 1.043 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004077/0.7827, allocations: 1.099 MB / 0.919 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006631/0.7893, allocations: 2.619 MB / 0.9215 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.7893, allocations: 5.094 kB / 0.9215 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/0.7898, allocations: 119.8 kB / 0.9216 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/0.7903, allocations: 132.7 kB / 0.9218 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.7903, allocations: 16 kB / 0.9218 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004937/0.7953, allocations: 2.628 MB / 0.9243 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.7953, allocations: 7.938 kB / 0.9243 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005401/0.8007, allocations: 1.695 MB / 0.926 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007137/0.8014, allocations: 311.1 kB / 0.9263 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.8016, allocations: 19.98 kB / 0.9263 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008221/0.8025, allocations: 56.94 kB / 0.9264 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.8026, allocations: 60.25 kB / 0.9264 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.057e-05/0.8027, allocations: 31.97 kB / 0.9265 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001273/0.804, allocations: 0.8816 MB / 0.9273 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.804, allocations: 0 / 0.9273 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001966/0.8059, allocations: 0.7214 MB / 0.928 GB, free: 6.27 MB / 0.7169 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 (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 Backend phase and start with SimCode phase: time 0.0009452/0.8069, allocations: 455.7 kB / 0.9285 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002627/0.8095, allocations: 1.116 MB / 0.9296 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.8096, allocations: 0 / 0.9296 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.811, allocations: 0.5721 MB / 0.9301 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/0.8143, allocations: 0.8124 MB / 0.9309 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.8178, allocations: 2.257 MB / 0.9331 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/0.8185, allocations: 1.176 MB / 0.9343 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001048/0.8196, allocations: 307 kB / 0.9345 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.8198, allocations: 103.4 kB / 0.9346 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.8198, allocations: 4 kB / 0.9347 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.04712/0.8669, allocations: 32.46 MB / 0.9664 GB, free: 15.44 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)