Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_9_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.0009041/0.0009041, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009934/0.0009937, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006509/0.0006513, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7059/0.7066, allocations: 142.3 MB / 0.9538 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.0639/0.7705, allocations: 69.48 MB / 1.022 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.7891, allocations: 14.18 MB / 1.036 GB, free: 12.29 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002796/0.792, allocations: 55.62 kB / 1.036 GB, free: 12.23 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002514/0.7945, allocations: 0.5667 MB / 1.036 GB, free: 11.66 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007391/0.8019, allocations: 1.993 MB / 1.038 GB, free: 9.664 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003611/0.8055, allocations: 0.9685 MB / 1.039 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0066/0.8122, allocations: 4.812 MB / 1.044 GB, free: 3.879 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/0.8146, allocations: 1.029 MB / 1.045 GB, free: 2.824 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003243/0.8178, allocations: 1.271 MB / 1.046 GB, free: 1.547 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.8201, allocations: 1.077 MB / 1.047 GB, free: 476 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000399/0.8205, allocations: 56 kB / 1.047 GB, free: 420 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.8235, allocations: 0.9276 MB / 1.048 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000572/0.8241, allocations: 270.7 kB / 1.048 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0008004/0.8249, allocations: 364.8 kB / 1.049 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003017/0.8279, allocations: 2.073 MB / 1.051 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.828, allocations: 4 kB / 1.051 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.733e-06/0.828, allocations: 0 / 1.051 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.237e-05/0.8281, allocations: 0 / 1.051 GB, free: 12.77 MB / 0.8106 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.003968/0.832, allocations: 1.787 MB / 1.052 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.8321, allocations: 12.03 kB / 1.052 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003226/0.8324, allocations: 155.9 kB / 1.053 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/0.8333, allocations: 241.9 kB / 1.053 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/0.8362, allocations: 1.443 MB / 1.054 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.929e-05/0.8363, allocations: 78 kB / 1.054 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.8365, allocations: 100 kB / 1.054 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.8385, allocations: 1.112 MB / 1.055 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.8385, allocations: 4 kB / 1.055 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/0.8386, allocations: 43.95 kB / 1.055 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.8386, allocations: 24 kB / 1.055 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.8405, allocations: 0.9251 MB / 1.056 GB, free: 6.695 MB / 0.8106 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.005712/0.8462, allocations: 4.912 MB / 1.061 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.8476, allocations: 0.6464 MB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006619/0.8482, allocations: 362.3 kB / 1.062 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005898/0.8488, allocations: 0.8316 MB / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.8489, allocations: 39.12 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 2.585e-06/0.8489, allocations: 0 / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.006504/0.8554, allocations: 1.888 MB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.8555, allocations: 55.97 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.8575, allocations: 1.202 MB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.8577, allocations: 45.64 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005495/0.8582, allocations: 0.6104 MB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.8585, allocations: 212.9 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.8585, allocations: 20 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8587, allocations: 326 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006459/0.8593, allocations: 297.8 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008051/0.8601, allocations: 0.5007 MB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006987/0.8608, allocations: 367 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8609, allocations: 0 / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004302/0.8652, allocations: 1.39 MB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.8653, allocations: 203.4 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.8654, allocations: 4 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005869/0.866, allocations: 148.7 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.8666, allocations: 163.8 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008291/0.8674, allocations: 0.7162 MB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.8687, allocations: 163 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.8688, allocations: 39.94 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.8688, allocations: 8 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003934/0.8727, allocations: 1.245 MB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8727, allocations: 0 / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004605/0.8732, allocations: 157 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.8738, allocations: 159.8 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007373/0.8745, allocations: 0.7046 MB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.8757, allocations: 169.5 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.8758, allocations: 31.98 kB / 1.074 GB, free: 4.367 MB / 0.8262 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.0007343/0.8765, allocations: 428.8 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.8769, allocations: 130.4 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004289/0.8812, allocations: 1.404 MB / 1.075 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.8812, allocations: 4 kB / 1.075 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.8812, allocations: 3.938 kB / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003696/0.8849, allocations: 1.236 MB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006739/0.8917, allocations: 2.739 MB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.8918, allocations: 4 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.8923, allocations: 120.3 kB / 1.079 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004532/0.8927, allocations: 144.7 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/0.8928, allocations: 19.98 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004442/0.8972, allocations: 2.47 MB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.8973, allocations: 4.062 kB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005011/0.9023, allocations: 1.851 MB / 1.084 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008645/0.9032, allocations: 339 kB / 1.084 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/0.9035, allocations: 12.06 kB / 1.084 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.9045, allocations: 98.56 kB / 1.084 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.9047, allocations: 56.27 kB / 1.084 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.58e-05/0.9048, allocations: 39.97 kB / 1.084 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001451/0.9062, allocations: 0.8545 MB / 1.085 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9062, allocations: 96 / 1.085 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002317/0.9086, allocations: 0.7095 MB / 1.086 GB, free: 7.312 MB / 0.8419 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.006043/0.9146, allocations: 2.711 MB / 1.089 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00275/0.9174, allocations: 1.16 MB / 1.09 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.9174, allocations: 0 / 1.09 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.9189, allocations: 0.5956 MB / 1.09 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004179/0.9231, allocations: 0.7688 MB / 1.091 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/0.9431, allocations: 8.352 MB / 1.099 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007268/0.9438, allocations: 1.187 MB / 1.1 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001396/0.9452, allocations: 307 kB / 1.101 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006563/0.9459, allocations: 0.511 MB / 1.101 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of SimCode: time 7.31e-07/0.9459, allocations: 0 / 1.101 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07403/1.02, allocations: 42.14 MB / 1.142 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/1.02, allocations: 257.1 kB / 1.142 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/3.949, allocations: 4 kB / 1.142 GB, free: 13.3 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat does not exist to compare? outputFormat=mat