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.001752/0.001752, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002017/0.002016, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.474/1.474, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.71/1.71, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.00143/0.00143, allocations: 66.84 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2216, allocations: 114.5 MB / 0.7834 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07461/0.2962, allocations: 75.2 MB / 0.8568 GB, free: 2.062 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02435/0.3206, allocations: 15.06 MB / 0.8715 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003028/0.3237, allocations: 63.62 kB / 0.8716 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002677/0.3264, allocations: 0.8306 MB / 0.8724 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007221/0.3337, allocations: 2.576 MB / 0.8749 GB, free: 15.48 MB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.3373, allocations: 1.383 MB / 0.8762 GB, free: 14.11 MB / 0.7013 GB Notification: Performance of NFFlatten.flatten: time 0.005948/0.3432, allocations: 4.354 MB / 0.8805 GB, free: 9.738 MB / 0.7013 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002291/0.3456, allocations: 1.445 MB / 0.8819 GB, free: 8.262 MB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003969/0.3496, allocations: 1.629 MB / 0.8835 GB, free: 6.633 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.3516, allocations: 1.217 MB / 0.8847 GB, free: 5.41 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.0002985/0.3519, allocations: 164 kB / 0.8848 GB, free: 5.25 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004118/0.3561, allocations: 1.404 MB / 0.8862 GB, free: 3.844 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.0005262/0.3566, allocations: 402.6 kB / 0.8866 GB, free: 3.449 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.358, allocations: 0.906 MB / 0.8875 GB, free: 2.539 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.004709/0.3628, allocations: 2.844 MB / 0.8902 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.3628, allocations: 4 kB / 0.8903 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3628, allocations: 0 / 0.8903 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.379e-05/0.3628, allocations: 0 / 0.8903 GB, free: 15.68 MB / 0.7169 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.00377/0.3666, allocations: 2.083 MB / 0.8923 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3667, allocations: 16.02 kB / 0.8923 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008561/0.3676, allocations: 230.8 kB / 0.8925 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.37, allocations: 1.438 MB / 0.8939 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/0.37, allocations: 77.98 kB / 0.894 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.3702, allocations: 104 kB / 0.8941 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.3722, allocations: 1.096 MB / 0.8952 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.3722, allocations: 11.88 kB / 0.8952 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/0.3723, allocations: 40 kB / 0.8952 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/0.3723, allocations: 24 kB / 0.8952 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.3742, allocations: 0.8939 MB / 0.8961 GB, free: 9.523 MB / 0.7169 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.00645/0.3807, allocations: 4.969 MB / 0.901 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.3822, allocations: 0.6128 MB / 0.9016 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007471/0.383, allocations: 358.3 kB / 0.9019 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007967/0.3838, allocations: 0.8277 MB / 0.9027 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.3839, allocations: 39.12 kB / 0.9028 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.655e-06/0.3839, allocations: 0 / 0.9028 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007624/0.3915, allocations: 1.697 MB / 0.9044 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3916, allocations: 59.97 kB / 0.9045 GB, free: 448 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.3934, allocations: 1.229 MB / 0.9057 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.3935, allocations: 37.7 kB / 0.9057 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004965/0.394, allocations: 0.5988 MB / 0.9063 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.3943, allocations: 216.7 kB / 0.9065 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.3945, allocations: 154.6 kB / 0.9066 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3946, allocations: 337.9 kB / 0.907 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007044/0.3953, allocations: 288.7 kB / 0.9072 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008464/0.3962, allocations: 0.4968 MB / 0.9077 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.3976, allocations: 0.709 MB / 0.9084 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3977, allocations: 4 kB / 0.9084 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005006/0.4027, allocations: 1.273 MB / 0.9097 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.4027, allocations: 11.94 kB / 0.9097 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.4027, allocations: 4.375 kB / 0.9097 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006481/0.4034, allocations: 136.7 kB / 0.9098 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.4041, allocations: 155.8 kB / 0.91 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008847/0.405, allocations: 0.7122 MB / 0.9107 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.4063, allocations: 127.1 kB / 0.9108 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.425e-05/0.4064, allocations: 27.98 kB / 0.9108 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001407/0.4078, allocations: 0.5554 MB / 0.9113 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009071/0.4087, allocations: 0.489 MB / 0.9118 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001446/0.4102, allocations: 0.7012 MB / 0.9125 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/0.4102, allocations: 3.938 kB / 0.9125 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005036/0.4153, allocations: 1.269 MB / 0.9138 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4153, allocations: 8.375 kB / 0.9138 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4153, allocations: 11.94 kB / 0.9138 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005431/0.4159, allocations: 132.7 kB / 0.9139 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.4165, allocations: 159.8 kB / 0.914 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008242/0.4174, allocations: 0.7008 MB / 0.9147 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.4186, allocations: 115.4 kB / 0.9148 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.4187, allocations: 31.98 kB / 0.9149 GB, free: 5.387 MB / 0.7325 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.0002487/0.4189, allocations: 232 kB / 0.9151 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.4192, allocations: 130.4 kB / 0.9152 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004854/0.4241, allocations: 1.263 MB / 0.9165 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.4241, allocations: 8 kB / 0.9165 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.4241, allocations: 4 kB / 0.9165 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004371/0.4285, allocations: 1.103 MB / 0.9175 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4442/0.8727, allocations: 2.6 MB / 0.9201 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.8728, allocations: 7.375 kB / 0.9201 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/0.8734, allocations: 118.9 kB / 0.9202 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005825/0.874, allocations: 131 kB / 0.9203 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/0.874, allocations: 20.84 kB / 0.9203 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0055/0.8795, allocations: 2.626 MB / 0.9229 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.8796, allocations: 8.5 kB / 0.9229 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005903/0.8855, allocations: 1.701 MB / 0.9246 GB, free: 133.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006821/0.8862, allocations: 304.6 kB / 0.9249 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.8864, allocations: 26.66 kB / 0.9249 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000823/0.8872, allocations: 52.25 kB / 0.9249 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.8874, allocations: 64.19 kB / 0.925 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.429e-05/0.8875, allocations: 35.84 kB / 0.925 GB, free: 133.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001276/0.8887, allocations: 0.883 MB / 0.9259 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8887, allocations: 0 / 0.9259 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001964/0.8907, allocations: 0.7183 MB / 0.9266 GB, free: 133.6 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 (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.0007747/0.8915, allocations: 456.4 kB / 0.927 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0025/0.894, allocations: 1.16 MB / 0.9282 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.894, allocations: 3.719 kB / 0.9282 GB, free: 133.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.8954, allocations: 0.557 MB / 0.9287 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/0.8988, allocations: 0.8137 MB / 0.9295 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.9025, allocations: 2.306 MB / 0.9318 GB, free: 131.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007509/0.9033, allocations: 1.171 MB / 0.9329 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001399/0.9047, allocations: 307 kB / 0.9332 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.9049, allocations: 106.8 kB / 0.9333 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.9049, allocations: 2.688 kB / 0.9333 GB, free: 130.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.05607/0.961, allocations: 32.5 MB / 0.965 GB, free: 116.3 MB / 0.7325 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)