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.001307/0.001307, allocations: 116.8 kB / 16.38 MB, free: 6 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.001383/0.001383, allocations: 189.4 kB / 17.3 MB, free: 5.617 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.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.752/1.752, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001418/0.001418, allocations: 67.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2291, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.4477/0.6768, allocations: 75.2 MB / 0.8582 GB, free: 14.76 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02344/0.7003, allocations: 15.05 MB / 0.8729 GB, free: 3.98 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004021/0.7043, allocations: 63.28 kB / 0.873 GB, free: 3.957 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.7076, allocations: 0.8338 MB / 0.8738 GB, free: 3.434 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009994/0.7177, allocations: 2.563 MB / 0.8763 GB, free: 1.895 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004889/0.7226, allocations: 1.401 MB / 0.8777 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008251/0.7308, allocations: 4.371 MB / 0.8819 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003238/0.7341, allocations: 1.444 MB / 0.8833 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005444/0.7396, allocations: 1.64 MB / 0.8849 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/0.7428, allocations: 1.211 MB / 0.8861 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007878/0.7437, allocations: 164 kB / 0.8863 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00485/0.7485, allocations: 1.401 MB / 0.8876 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009844/0.7495, allocations: 409.6 kB / 0.888 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002348/0.7519, allocations: 0.901 MB / 0.8889 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006496/0.7584, allocations: 2.87 MB / 0.8917 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.7585, allocations: 5.625 kB / 0.8917 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of FrontEnd: time 5.37e-06/0.7585, allocations: 3.984 kB / 0.8917 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.428e-05/0.7586, allocations: 0 / 0.8917 GB, free: 8.02 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.005891/0.7645, allocations: 2.089 MB / 0.8938 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.7646, allocations: 9.438 kB / 0.8938 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.7657, allocations: 230.4 kB / 0.894 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003321/0.769, allocations: 1.521 MB / 0.8955 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/0.7691, allocations: 76.03 kB / 0.8956 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.7693, allocations: 102.8 kB / 0.8957 GB, free: 5.066 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/0.7716, allocations: 1.096 MB / 0.8967 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.7716, allocations: 1.406 kB / 0.8967 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.125e-05/0.7717, allocations: 45.84 kB / 0.8968 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/0.7718, allocations: 28.25 kB / 0.8968 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.7738, allocations: 0.8932 MB / 0.8977 GB, free: 3.902 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.007933/0.7818, allocations: 4.922 MB / 0.9025 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.7833, allocations: 0.6191 MB / 0.9031 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007176/0.784, allocations: 350 kB / 0.9034 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006803/0.7847, allocations: 0.8237 MB / 0.9042 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.7848, allocations: 39.62 kB / 0.9043 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.565e-06/0.7848, allocations: 0 / 0.9043 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.007525/0.7923, allocations: 1.701 MB / 0.9059 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.7924, allocations: 57.47 kB / 0.906 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.7944, allocations: 1.23 MB / 0.9072 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001837/0.7946, allocations: 37.7 kB / 0.9072 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000558/0.7952, allocations: 0.6065 MB / 0.9078 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.7954, allocations: 205 kB / 0.908 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.7957, allocations: 158.5 kB / 0.9081 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.7958, allocations: 341.9 kB / 0.9085 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006823/0.7965, allocations: 284.7 kB / 0.9087 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009199/0.7974, allocations: 0.4929 MB / 0.9092 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.7989, allocations: 0.7129 MB / 0.9099 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.7989, allocations: 0 / 0.9099 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004842/0.8038, allocations: 1.273 MB / 0.9112 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.8038, allocations: 12 kB / 0.9112 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.8039, allocations: 4 kB / 0.9112 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/0.8045, allocations: 133.4 kB / 0.9113 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/0.8051, allocations: 164.6 kB / 0.9115 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008606/0.806, allocations: 0.7052 MB / 0.9122 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.8075, allocations: 127 kB / 0.9123 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.8076, allocations: 35.98 kB / 0.9123 GB, free: 7 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001164/0.8088, allocations: 0.5495 MB / 0.9128 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008454/0.8096, allocations: 496.7 kB / 0.9133 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001367/0.811, allocations: 0.7051 MB / 0.914 GB, free: 5.125 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/0.811, allocations: 4 kB / 0.914 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004776/0.8158, allocations: 1.269 MB / 0.9152 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.8158, allocations: 4.375 kB / 0.9153 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.8159, allocations: 11.94 kB / 0.9153 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005182/0.8164, allocations: 137.3 kB / 0.9154 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.817, allocations: 159.7 kB / 0.9155 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008343/0.8179, allocations: 0.709 MB / 0.9162 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.8194, allocations: 99.5 kB / 0.9163 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.05e-05/0.8195, allocations: 36 kB / 0.9164 GB, free: 2.668 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.0002952/0.8198, allocations: 224.1 kB / 0.9166 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003768/0.8202, allocations: 134.4 kB / 0.9167 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004629/0.8248, allocations: 1.269 MB / 0.9179 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.8249, allocations: 4 kB / 0.918 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/0.8249, allocations: 4 kB / 0.918 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004098/0.829, allocations: 1.107 MB / 0.919 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006985/0.836, allocations: 2.622 MB / 0.9216 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.8361, allocations: 4 kB / 0.9216 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/0.8366, allocations: 107.9 kB / 0.9217 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005082/0.8371, allocations: 137.2 kB / 0.9218 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.8372, allocations: 19.98 kB / 0.9219 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005019/0.8422, allocations: 2.63 MB / 0.9244 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.8422, allocations: 4 kB / 0.9244 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005593/0.8478, allocations: 1.699 MB / 0.9261 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009296/0.8488, allocations: 311.1 kB / 0.9264 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/0.8491, allocations: 16 kB / 0.9264 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008902/0.85, allocations: 51.62 kB / 0.9264 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.8502, allocations: 64.3 kB / 0.9265 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.836e-05/0.8503, allocations: 31.98 kB / 0.9265 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001288/0.8516, allocations: 0.8816 MB / 0.9274 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8516, allocations: 0 / 0.9274 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002373/0.854, allocations: 0.7252 MB / 0.9281 GB, free: 6.238 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.001113/0.8551, allocations: 448.8 kB / 0.9285 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002794/0.8579, allocations: 1.12 MB / 0.9296 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.8579, allocations: 0 / 0.9296 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.8595, allocations: 0.5604 MB / 0.9302 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/0.8637, allocations: 0.8142 MB / 0.931 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/0.8678, allocations: 2.296 MB / 0.9332 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000749/0.8686, allocations: 1.168 MB / 0.9344 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/0.869, allocations: 111.4 kB / 0.9345 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.869, allocations: 0 / 0.9345 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.04518/0.9142, allocations: 31.19 MB / 0.9649 GB, free: 0.7578 MB / 0.7481 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)