Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.787/1.787, allocations: 288.4 MB / 303.3 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 176.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007841/0.0007842, allocations: 95.8 kB / 0.7441 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004809, allocations: 15.59 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2416, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06161/0.3033, allocations: 69.44 MB / 1.047 GB, free: 5.969 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02004/0.3234, allocations: 14.07 MB / 1.061 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/0.3263, allocations: 55.62 kB / 1.061 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.3289, allocations: 0.5705 MB / 1.062 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007553/0.3365, allocations: 1.964 MB / 1.064 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.3405, allocations: 0.9833 MB / 1.065 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.5867/0.9272, allocations: 4.774 MB / 1.069 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003127/0.9304, allocations: 1.012 MB / 1.07 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004299/0.9348, allocations: 1.276 MB / 1.072 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.9381, allocations: 1.088 MB / 1.073 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006548/0.9388, allocations: 55.97 kB / 1.073 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004258/0.9431, allocations: 0.9228 MB / 1.074 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008839/0.944, allocations: 271.2 kB / 1.074 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.9453, allocations: 357.5 kB / 1.074 GB, free: 33.95 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005773/0.9511, allocations: 2.084 MB / 1.076 GB, free: 33.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.9512, allocations: 4.797 kB / 1.076 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.687e-06/0.9512, allocations: 0 / 1.076 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001135/0.9513, allocations: 0.9375 kB / 1.076 GB, free: 33.88 MB / 0.6823 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.00639/0.9577, allocations: 1.8 MB / 1.078 GB, free: 32.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/0.9578, allocations: 10.56 kB / 1.078 GB, free: 32.89 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007387/0.9586, allocations: 144.3 kB / 1.078 GB, free: 32.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.9602, allocations: 247.5 kB / 1.078 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004737/0.965, allocations: 1.436 MB / 1.08 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.9651, allocations: 79.34 kB / 1.08 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003112/0.9654, allocations: 100.6 kB / 1.08 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/0.9686, allocations: 1.121 MB / 1.081 GB, free: 32.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.9687, allocations: 1 kB / 1.081 GB, free: 32.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.9688, allocations: 41.38 kB / 1.081 GB, free: 32.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/0.9689, allocations: 25.11 kB / 1.081 GB, free: 32.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002723/0.9716, allocations: 0.9281 MB / 1.082 GB, free: 32.25 MB / 0.6823 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.009143/0.9808, allocations: 4.916 MB / 1.087 GB, free: 30.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.9825, allocations: 0.633 MB / 1.087 GB, free: 30.03 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000774/0.9833, allocations: 368.1 kB / 1.088 GB, free: 30.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005477/0.9838, allocations: 0.8254 MB / 1.089 GB, free: 29.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.9839, allocations: 40.59 kB / 1.089 GB, free: 29.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.386e-06/0.9839, allocations: 6.406 kB / 1.089 GB, free: 29.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.008236/0.9921, allocations: 1.891 MB / 1.09 GB, free: 28.76 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.9922, allocations: 57.09 kB / 1.091 GB, free: 28.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.9946, allocations: 1.199 MB / 1.092 GB, free: 28.53 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002804/0.9949, allocations: 43.17 kB / 1.092 GB, free: 28.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006004/0.9955, allocations: 0.6051 MB / 1.092 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.9958, allocations: 220.8 kB / 1.093 GB, free: 28.15 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.9959, allocations: 13.38 kB / 1.093 GB, free: 28.15 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.996, allocations: 333 kB / 1.093 GB, free: 27.85 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007753/0.9968, allocations: 301.2 kB / 1.093 GB, free: 27.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000883/0.9977, allocations: 0.5041 MB / 1.094 GB, free: 27.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007831/0.9985, allocations: 359.5 kB / 1.094 GB, free: 27.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.9985, allocations: 0 / 1.094 GB, free: 27.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005468/1.004, allocations: 1.394 MB / 1.095 GB, free: 27.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/1.004, allocations: 197 kB / 1.096 GB, free: 27.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.004, allocations: 3.625 kB / 1.096 GB, free: 27.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007146/1.005, allocations: 152.9 kB / 1.096 GB, free: 27.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008619/1.006, allocations: 164.2 kB / 1.096 GB, free: 27.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008946/1.007, allocations: 0.7142 MB / 1.097 GB, free: 26.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/1.009, allocations: 172.8 kB / 1.097 GB, free: 26.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/1.009, allocations: 32.8 kB / 1.097 GB, free: 26.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.009, allocations: 7.188 kB / 1.097 GB, free: 26.66 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005187/1.014, allocations: 1.251 MB / 1.098 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.014, allocations: 4.469 kB / 1.098 GB, free: 26.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006724/1.015, allocations: 151 kB / 1.098 GB, free: 26.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/1.016, allocations: 164 kB / 1.098 GB, free: 26.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008733/1.016, allocations: 0.7202 MB / 1.099 GB, free: 26.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/1.018, allocations: 163.6 kB / 1.099 GB, free: 26.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/1.019, allocations: 32.16 kB / 1.099 GB, free: 26.01 MB / 0.6823 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.001262/1.02, allocations: 418.3 kB / 1.1 GB, free: 25.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000733/1.021, allocations: 140.9 kB / 1.1 GB, free: 25.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005961/1.027, allocations: 1.395 MB / 1.101 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/1.027, allocations: 8.094 kB / 1.101 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.027, allocations: 4 kB / 1.101 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004919/1.032, allocations: 1.236 MB / 1.102 GB, free: 25.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009993/1.042, allocations: 2.73 MB / 1.105 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-05/1.042, allocations: 3.344 kB / 1.105 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006151/1.042, allocations: 124 kB / 1.105 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005687/1.043, allocations: 140.3 kB / 1.105 GB, free: 24.85 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.213e-05/1.043, allocations: 21.52 kB / 1.105 GB, free: 24.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004926/1.048, allocations: 2.498 MB / 1.108 GB, free: 23.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.048, allocations: 3.406 kB / 1.108 GB, free: 23.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006258/1.054, allocations: 1.843 MB / 1.109 GB, free: 22.99 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.056, allocations: 336.2 kB / 1.11 GB, free: 22.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006527/1.056, allocations: 15.41 kB / 1.11 GB, free: 22.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/1.058, allocations: 95.14 kB / 1.11 GB, free: 22.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/1.058, allocations: 60.56 kB / 1.11 GB, free: 22.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.058, allocations: 29.84 kB / 1.11 GB, free: 22.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002051/1.061, allocations: 0.8592 MB / 1.111 GB, free: 22.69 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/1.061, allocations: 1.812 kB / 1.111 GB, free: 22.69 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004221/1.065, allocations: 0.7036 MB / 1.112 GB, free: 22.6 MB / 0.6823 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.008965/1.074, allocations: 2.71 MB / 1.114 GB, free: 21.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003542/1.077, allocations: 1.157 MB / 1.115 GB, free: 21.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.077, allocations: 1.594 kB / 1.115 GB, free: 21.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001913/1.079, allocations: 0.6015 MB / 1.116 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005928/1.085, allocations: 0.7742 MB / 1.117 GB, free: 21.36 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03059/1.116, allocations: 8.344 MB / 1.125 GB, free: 18.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.117, allocations: 1.174 MB / 1.126 GB, free: 17.21 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002406/1.12, allocations: 306 kB / 1.126 GB, free: 17.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.121, allocations: 0.5093 MB / 1.127 GB, free: 17.01 MB / 0.6823 GB Notification: Performance of SimCode: time 1.884e-06/1.121, allocations: 2.844 kB / 1.127 GB, free: 17.01 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08282/1.204, allocations: 42.31 MB / 1.168 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/1.204, allocations: 247.2 kB / 1.168 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.439/4.644, allocations: 0 / 1.168 GB, free: 14.87 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)