Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.563/1.563, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 168.1 kB / 326.5 MB, free: 2.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 102.9 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003204, allocations: 9 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2271, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.04632/0.2735, allocations: 62.99 MB / 0.9617 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.2927, allocations: 12.85 MB / 0.9742 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002686/0.2955, allocations: 51.62 kB / 0.9742 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003393/0.2989, allocations: 0.7501 MB / 0.975 GB, free: 3.105 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00936/0.3083, allocations: 2.349 MB / 0.9773 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004766/0.3131, allocations: 1.439 MB / 0.9787 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00548/0.3186, allocations: 2.491 MB / 0.9811 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/0.321, allocations: 1.025 MB / 0.9821 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.3244, allocations: 1.172 MB / 0.9833 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.3264, allocations: 0.7817 MB / 0.984 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.3266, allocations: 52 kB / 0.9841 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.3296, allocations: 0.8348 MB / 0.9849 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003622/0.33, allocations: 262.9 kB / 0.9851 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007028/0.3307, allocations: 352.9 kB / 0.9855 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003174/0.3339, allocations: 2.015 MB / 0.9874 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3339, allocations: 0 / 0.9874 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.225e-06/0.334, allocations: 4 kB / 0.9874 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.71e-05/0.334, allocations: 0 / 0.9874 GB, free: 6.312 MB / 0.6355 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.003998/0.338, allocations: 1.772 MB / 0.9892 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3381, allocations: 16.03 kB / 0.9892 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002484/0.3383, allocations: 155.9 kB / 0.9893 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008174/0.3392, allocations: 241.9 kB / 0.9896 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.3418, allocations: 1.365 MB / 0.9909 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.3419, allocations: 77.98 kB / 0.991 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.3421, allocations: 104 kB / 0.9911 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.3442, allocations: 1.092 MB / 0.9921 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.3442, allocations: 4 kB / 0.9921 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.521e-05/0.3443, allocations: 40 kB / 0.9922 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.3444, allocations: 31.89 kB / 0.9922 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.3465, allocations: 0.929 MB / 0.9931 GB, free: 340 kB / 0.6355 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.007412/0.3539, allocations: 4.946 MB / 0.998 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.3555, allocations: 0.6435 MB / 0.9986 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007552/0.3563, allocations: 0.8316 MB / 0.9994 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.3563, allocations: 35.12 kB / 0.9994 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 3.597e-06/0.3563, allocations: 0 / 0.9994 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.007712/0.364, allocations: 1.885 MB / 1.001 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.3641, allocations: 63.91 kB / 1.001 GB, free: 7.395 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.3663, allocations: 1.249 MB / 1.003 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.3664, allocations: 41.7 kB / 1.003 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006153/0.3671, allocations: 0.6065 MB / 1.003 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.3674, allocations: 212.9 kB / 1.003 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.3674, allocations: 12 kB / 1.003 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3676, allocations: 334 kB / 1.004 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007578/0.3683, allocations: 293.8 kB / 1.004 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.3694, allocations: 0.5123 MB / 1.004 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009079/0.3703, allocations: 355 kB / 1.005 GB, free: 3.688 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.3703, allocations: 4 kB / 1.005 GB, free: 3.684 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005725/0.376, allocations: 1.394 MB / 1.006 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001009/0.3771, allocations: 1.425 MB / 1.008 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.3771, allocations: 7.984 kB / 1.008 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007951/0.3779, allocations: 148.7 kB / 1.008 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/0.3788, allocations: 167.8 kB / 1.008 GB, free: 456 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.3799, allocations: 0.7085 MB / 1.009 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.3817, allocations: 178.9 kB / 1.009 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.3819, allocations: 35.98 kB / 1.009 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3819, allocations: 4 kB / 1.009 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004798/0.3867, allocations: 1.245 MB / 1.01 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.3868, allocations: 4 kB / 1.01 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.3874, allocations: 153 kB / 1.01 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.3881, allocations: 163.8 kB / 1.01 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009343/0.3891, allocations: 0.7164 MB / 1.011 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.3906, allocations: 167.1 kB / 1.011 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.3908, allocations: 35.98 kB / 1.011 GB, free: 12.99 MB / 0.6667 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.0008786/0.3917, allocations: 421.6 kB / 1.012 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005871/0.3922, allocations: 134.3 kB / 1.012 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005336/0.3976, allocations: 1.392 MB / 1.013 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.3977, allocations: 12 kB / 1.013 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.3977, allocations: 11.88 kB / 1.013 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004409/0.4021, allocations: 1.228 MB / 1.014 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008539/0.4107, allocations: 2.743 MB / 1.017 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.337e-05/0.4108, allocations: 7.984 kB / 1.017 GB, free: 6.879 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.4114, allocations: 120.3 kB / 1.017 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005937/0.412, allocations: 136.8 kB / 1.017 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.4121, allocations: 19.98 kB / 1.017 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005927/0.418, allocations: 2.563 MB / 1.02 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.418, allocations: 4 kB / 1.02 GB, free: 3.883 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006288/0.4243, allocations: 2.058 MB / 1.022 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.4255, allocations: 339 kB / 1.022 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/0.4259, allocations: 19.98 kB / 1.022 GB, free: 1.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.4272, allocations: 91.88 kB / 1.022 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.4274, allocations: 60.27 kB / 1.022 GB, free: 1.094 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.325e-05/0.4275, allocations: 31.98 kB / 1.022 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001858/0.4293, allocations: 0.8972 MB / 1.023 GB, free: 168 kB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4294, allocations: 0 / 1.023 GB, free: 168 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002839/0.4322, allocations: 0.7252 MB / 1.024 GB, free: 15.44 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.007923/0.4401, allocations: 3.842 MB / 1.028 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003179/0.4434, allocations: 1.164 MB / 1.029 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.4434, allocations: 4 kB / 1.029 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.4451, allocations: 0.5956 MB / 1.029 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004359/0.4495, allocations: 0.7568 MB / 1.03 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008347/0.4579, allocations: 5.924 MB / 1.036 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009672/0.4589, allocations: 1.203 MB / 1.037 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00168/0.4606, allocations: 314.8 kB / 1.037 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008028/0.4614, allocations: 0.5071 MB / 1.038 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/0.4614, allocations: 0 / 1.038 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.509/0.9704, allocations: 42.09 MB / 1.079 GB, free: 137.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.9707, allocations: 250 kB / 1.079 GB, free: 137.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.405/4.376, allocations: 1.859 kB / 1.079 GB, free: 137.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)