Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",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.001083/0.001083, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007739/0.007739, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.332/1.332, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.682/1.682, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004885/0.0004885, allocations: 14.28 kB / 0.6744 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06685/0.2711, allocations: 73.51 MB / 0.8598 GB, free: 1.742 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01804/0.2892, allocations: 14.93 MB / 0.8743 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.2907, allocations: 55.62 kB / 0.8744 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.2924, allocations: 0.6721 MB / 0.8751 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004963/0.2973, allocations: 2.364 MB / 0.8774 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.3001, allocations: 1.277 MB / 0.8786 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005255/0.3053, allocations: 5.531 MB / 0.884 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.3068, allocations: 1.147 MB / 0.8851 GB, free: 7.68 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.3088, allocations: 1.326 MB / 0.8864 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.3101, allocations: 1.151 MB / 0.8876 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.3102, allocations: 60 kB / 0.8876 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.3126, allocations: 1.236 MB / 0.8888 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.3128, allocations: 286.6 kB / 0.8891 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007243/0.3136, allocations: 0.7944 MB / 0.8899 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.3163, allocations: 2.718 MB / 0.8925 GB, free: 84 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3163, allocations: 0 / 0.8925 GB, free: 84 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3163, allocations: 4 kB / 0.8925 GB, free: 80 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.3163, allocations: 0 / 0.8925 GB, free: 80 kB / 0.7012 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.003064/0.3194, allocations: 1.783 MB / 0.8943 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3194, allocations: 8.031 kB / 0.8943 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.3196, allocations: 148.1 kB / 0.8944 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007401/0.3203, allocations: 238.9 kB / 0.8946 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.3225, allocations: 1.48 MB / 0.8961 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-05/0.3226, allocations: 78 kB / 0.8962 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.3228, allocations: 103.9 kB / 0.8963 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.3247, allocations: 1.124 MB / 0.8974 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.3248, allocations: 0 / 0.8974 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/0.3249, allocations: 44 kB / 0.8974 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/0.3249, allocations: 27.94 kB / 0.8974 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.3269, allocations: 0.9329 MB / 0.8983 GB, free: 9.965 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.005435/0.3323, allocations: 4.93 MB / 0.9032 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.3338, allocations: 0.6468 MB / 0.9038 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007585/0.3346, allocations: 374.3 kB / 0.9041 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/0.3352, allocations: 0.8238 MB / 0.9049 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3352, allocations: 39.12 kB / 0.905 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 1.813e-06/0.3352, allocations: 0 / 0.905 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007497/0.3427, allocations: 1.904 MB / 0.9068 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3428, allocations: 55.97 kB / 0.9069 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.3443, allocations: 1.206 MB / 0.9081 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/0.3443, allocations: 41.7 kB / 0.9081 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004988/0.3448, allocations: 0.6065 MB / 0.9087 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.345, allocations: 216.9 kB / 0.9089 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-05/0.3451, allocations: 61.69 kB / 0.909 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3452, allocations: 341.9 kB / 0.9093 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006933/0.3459, allocations: 301.8 kB / 0.9096 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008629/0.3468, allocations: 0.5124 MB / 0.9101 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.3483, allocations: 0.7519 MB / 0.9108 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3483, allocations: 4 kB / 0.9108 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00491/0.3532, allocations: 1.406 MB / 0.9122 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.3534, allocations: 198.1 kB / 0.9124 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3534, allocations: 4 kB / 0.9124 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/0.354, allocations: 152.5 kB / 0.9125 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/0.3546, allocations: 167.8 kB / 0.9127 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008618/0.3555, allocations: 0.7123 MB / 0.9134 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.3566, allocations: 178.3 kB / 0.9136 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.575e-05/0.3567, allocations: 31.98 kB / 0.9136 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.3567, allocations: 4 kB / 0.9136 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004708/0.3614, allocations: 1.253 MB / 0.9148 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3614, allocations: 4 kB / 0.9148 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004897/0.3619, allocations: 152.9 kB / 0.915 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.3625, allocations: 163.8 kB / 0.9151 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007985/0.3633, allocations: 0.7123 MB / 0.9158 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.3644, allocations: 171.2 kB / 0.916 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.546e-05/0.3645, allocations: 28 kB / 0.916 GB, free: 7.027 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.0005809/0.365, allocations: 420.9 kB / 0.9164 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.3652, allocations: 130.4 kB / 0.9165 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005022/0.3703, allocations: 1.416 MB / 0.9179 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.3703, allocations: 12 kB / 0.9179 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3703, allocations: 0 / 0.9179 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004515/0.3748, allocations: 1.236 MB / 0.9191 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006565/0.3814, allocations: 2.735 MB / 0.9218 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.3814, allocations: 0 / 0.9218 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.3819, allocations: 119.9 kB / 0.9219 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004861/0.3824, allocations: 144.9 kB / 0.9221 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.3825, allocations: 20 kB / 0.9221 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3427/0.7252, allocations: 2.47 MB / 0.9245 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.7252, allocations: 6.266 kB / 0.9245 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005883/0.7311, allocations: 1.855 MB / 0.9263 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005001/0.7316, allocations: 329.5 kB / 0.9266 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.7318, allocations: 17.53 kB / 0.9266 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008863/0.7327, allocations: 94.09 kB / 0.9267 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.7328, allocations: 63.2 kB / 0.9268 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.947e-05/0.7328, allocations: 34.59 kB / 0.9268 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001126/0.734, allocations: 0.8608 MB / 0.9277 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.734, allocations: 4.188 kB / 0.9277 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001819/0.7358, allocations: 0.7068 MB / 0.9284 GB, free: 132.1 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.005992/0.7418, allocations: 2.734 MB / 0.931 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002323/0.7441, allocations: 1.168 MB / 0.9322 GB, free: 131 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7442, allocations: 6.062 kB / 0.9322 GB, free: 131 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.7455, allocations: 0.607 MB / 0.9328 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004081/0.7496, allocations: 0.7901 MB / 0.9335 GB, free: 130.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02358/0.7732, allocations: 11.18 MB / 0.9445 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.7739, allocations: 1.17 MB / 0.9456 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001326/0.7752, allocations: 311.4 kB / 0.9459 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006419/0.7759, allocations: 0.52 MB / 0.9464 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.7759, allocations: 0 / 0.9464 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05629/0.8322, allocations: 42.71 MB / 0.9881 GB, free: 92.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001404/0.8323, allocations: 268.6 kB / 0.9884 GB, free: 92.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.744/3.576, allocations: 7.062 kB / 0.9884 GB, free: 92.6 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)