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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 99 kB / 15.05 MB, free: 1.105 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.001404/0.001404, allocations: 177.3 kB / 15.94 MB, free: 228 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.417/1.417, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.606/1.606, allocations: 292.6 MB / 0.5497 GB, free: 14.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.0004603/0.0004604, allocations: 15.56 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2142, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05916/0.2734, allocations: 62.99 MB / 0.8487 GB, free: 12.72 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01573/0.2892, allocations: 12.87 MB / 0.8613 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.2911, allocations: 51.62 kB / 0.8613 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.2932, allocations: 0.7423 MB / 0.8621 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006341/0.2996, allocations: 2.356 MB / 0.8644 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004065/0.3037, allocations: 1.539 MB / 0.8659 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004339/0.308, allocations: 2.497 MB / 0.8683 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.3097, allocations: 1.045 MB / 0.8693 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002374/0.3121, allocations: 1.152 MB / 0.8705 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.3134, allocations: 0.7894 MB / 0.8712 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.3136, allocations: 56 kB / 0.8713 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.316, allocations: 0.8425 MB / 0.8721 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.3163, allocations: 266.9 kB / 0.8724 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004749/0.3168, allocations: 360.9 kB / 0.8727 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.3192, allocations: 2.011 MB / 0.8747 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.3192, allocations: 0 / 0.8747 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3192, allocations: 0 / 0.8747 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.147e-05/0.3193, allocations: 0 / 0.8747 GB, free: 2.102 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.003381/0.3227, allocations: 1.783 MB / 0.8764 GB, free: 260 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.3227, allocations: 8.031 kB / 0.8764 GB, free: 252 kB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002012/0.3229, allocations: 147.9 kB / 0.8766 GB, free: 96 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007713/0.3237, allocations: 245.8 kB / 0.8768 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.3262, allocations: 1.369 MB / 0.8781 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-05/0.3263, allocations: 78 kB / 0.8782 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.3265, allocations: 103.9 kB / 0.8783 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.3285, allocations: 1.104 MB / 0.8794 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.3285, allocations: 3.906 kB / 0.8794 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/0.3286, allocations: 40 kB / 0.8794 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.3287, allocations: 31.98 kB / 0.8795 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.3305, allocations: 0.9251 MB / 0.8804 GB, free: 12.11 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.006145/0.3367, allocations: 4.962 MB / 0.8852 GB, free: 6.863 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.3381, allocations: 0.639 MB / 0.8858 GB, free: 6.219 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/0.3387, allocations: 0.8277 MB / 0.8866 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3388, allocations: 43.12 kB / 0.8867 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.304e-06/0.3388, allocations: 0 / 0.8867 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.007036/0.3458, allocations: 1.893 MB / 0.8885 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.3459, allocations: 55.97 kB / 0.8886 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.3476, allocations: 1.249 MB / 0.8898 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.3478, allocations: 41.7 kB / 0.8898 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/0.3483, allocations: 0.6103 MB / 0.8904 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.3485, allocations: 212.9 kB / 0.8906 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.3486, allocations: 12 kB / 0.8906 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3487, allocations: 341.9 kB / 0.891 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006851/0.3494, allocations: 297.8 kB / 0.8913 GB, free: 396 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008894/0.3503, allocations: 0.5013 MB / 0.8917 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.351, allocations: 363 kB / 0.8921 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3511, allocations: 0 / 0.8921 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004649/0.3557, allocations: 1.398 MB / 0.8935 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005448/0.3563, allocations: 1.423 MB / 0.8949 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3563, allocations: 4 kB / 0.8949 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.3569, allocations: 140.8 kB / 0.895 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/0.3575, allocations: 167.8 kB / 0.8951 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008174/0.3584, allocations: 0.724 MB / 0.8959 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.3596, allocations: 171.1 kB / 0.896 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/0.3596, allocations: 24 kB / 0.896 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.066e-06/0.3597, allocations: 4 kB / 0.896 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004166/0.3638, allocations: 1.254 MB / 0.8973 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3639, allocations: 8.031 kB / 0.8973 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004641/0.3643, allocations: 144.8 kB / 0.8974 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.3649, allocations: 167.7 kB / 0.8976 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007485/0.3657, allocations: 0.7201 MB / 0.8983 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.3669, allocations: 171 kB / 0.8984 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/0.367, allocations: 28 kB / 0.8985 GB, free: 8.766 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.0006212/0.3676, allocations: 416.9 kB / 0.8989 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.3678, allocations: 134.4 kB / 0.899 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004408/0.3722, allocations: 1.396 MB / 0.9004 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.3722, allocations: 8 kB / 0.9004 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3723, allocations: 3.938 kB / 0.9004 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004112/0.3764, allocations: 1.236 MB / 0.9016 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/0.383, allocations: 2.766 MB / 0.9043 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.3831, allocations: 4 kB / 0.9043 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.3836, allocations: 123.8 kB / 0.9044 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004851/0.3841, allocations: 140.8 kB / 0.9045 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/0.3842, allocations: 16 kB / 0.9045 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004774/0.3889, allocations: 2.56 MB / 0.907 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.389, allocations: 7.938 kB / 0.9071 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005528/0.3945, allocations: 2.061 MB / 0.9091 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007452/0.3953, allocations: 351 kB / 0.9094 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.3955, allocations: 16 kB / 0.9094 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008267/0.3963, allocations: 87.91 kB / 0.9095 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3964, allocations: 64.25 kB / 0.9096 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.389e-05/0.3965, allocations: 35.98 kB / 0.9096 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001184/0.3977, allocations: 0.8933 MB / 0.9105 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3977, allocations: 0 / 0.9105 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001879/0.3996, allocations: 0.7213 MB / 0.9112 GB, free: 11.18 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.006375/0.406, allocations: 3.849 MB / 0.9149 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00247/0.4085, allocations: 1.161 MB / 0.9161 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.4085, allocations: 0 / 0.9161 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.4099, allocations: 0.6033 MB / 0.9167 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/0.4133, allocations: 0.7466 MB / 0.9174 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3128/0.7262, allocations: 5.923 MB / 0.9232 GB, free: 131 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000817/0.7271, allocations: 1.202 MB / 0.9243 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001424/0.7285, allocations: 309.7 kB / 0.9246 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007232/0.7292, allocations: 0.5078 MB / 0.9251 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.142e-06/0.7292, allocations: 1.188 kB / 0.9251 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.315/2.044, allocations: 42.2 MB / 0.9663 GB, free: 113 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/2.044, allocations: 234.6 kB / 0.9666 GB, free: 112.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.699/5.743, allocations: 4.062 kB / 0.9666 GB, free: 112.8 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: