Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",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.00083/0.0008301, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009223/0.0009222, allocations: 168.7 kB / 15.95 MB, free: 204 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.324/1.324, allocations: 223.2 MB / 240 MB, free: 5.402 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.338/2.338, allocations: 390.4 MB / 0.6655 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7277/0.7281, allocations: 142.3 MB / 0.9538 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07139/0.7995, allocations: 69.48 MB / 1.022 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01941/0.819, allocations: 14.19 MB / 1.036 GB, free: 12.25 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/0.8213, allocations: 59.56 kB / 1.036 GB, free: 12.19 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.8235, allocations: 0.5627 MB / 1.036 GB, free: 11.62 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006466/0.8299, allocations: 1.989 MB / 1.038 GB, free: 9.625 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.833, allocations: 0.9689 MB / 1.039 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006356/0.8394, allocations: 4.805 MB / 1.044 GB, free: 3.848 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/0.8416, allocations: 1.021 MB / 1.045 GB, free: 2.801 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003358/0.8449, allocations: 1.283 MB / 1.046 GB, free: 1.512 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.8472, allocations: 1.085 MB / 1.047 GB, free: 432 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.8475, allocations: 52 kB / 1.047 GB, free: 380 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.8504, allocations: 0.9472 MB / 1.048 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.8507, allocations: 270.7 kB / 1.048 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006293/0.8514, allocations: 356.9 kB / 1.049 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.8541, allocations: 2.096 MB / 1.051 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8541, allocations: 0 / 1.051 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.255e-06/0.8541, allocations: 0 / 1.051 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.606e-05/0.8542, allocations: 0 / 1.051 GB, free: 12.7 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.003896/0.8581, allocations: 1.803 MB / 1.052 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.8581, allocations: 12.03 kB / 1.052 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002448/0.8584, allocations: 147.9 kB / 1.053 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007574/0.8592, allocations: 237.9 kB / 1.053 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.8619, allocations: 1.455 MB / 1.054 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.227e-05/0.862, allocations: 78 kB / 1.054 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.8622, allocations: 103.9 kB / 1.054 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.8642, allocations: 1.124 MB / 1.056 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.8643, allocations: 0 / 1.056 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.8644, allocations: 43.95 kB / 1.056 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.8644, allocations: 24 kB / 1.056 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.8664, allocations: 0.9251 MB / 1.056 GB, free: 6.598 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.00679/0.8732, allocations: 4.919 MB / 1.061 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.8745, allocations: 0.6408 MB / 1.062 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006905/0.8752, allocations: 366.3 kB / 1.062 GB, free: 392 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006982/0.8759, allocations: 0.8355 MB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.876, allocations: 39.08 kB / 1.063 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=62): time 2.876e-06/0.876, allocations: 0 / 1.063 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=62): time 0.004833/0.8808, allocations: 1.518 MB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.8809, allocations: 59.97 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.883, allocations: 1.202 MB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.8831, allocations: 41.7 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005521/0.8837, allocations: 0.5989 MB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.8839, allocations: 228.7 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.884, allocations: 16 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8841, allocations: 330 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006331/0.8848, allocations: 297.8 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008358/0.8856, allocations: 0.5037 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007312/0.8864, allocations: 355 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8864, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004363/0.8907, allocations: 1.394 MB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.8909, allocations: 201.2 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8909, allocations: 0 / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/0.8916, allocations: 164.7 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.8922, allocations: 163.8 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008729/0.8931, allocations: 0.7202 MB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.8944, allocations: 171 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.8945, allocations: 31.98 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.8945, allocations: 4 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004114/0.8986, allocations: 1.246 MB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.8987, allocations: 8 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005435/0.8992, allocations: 164.8 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005651/0.8998, allocations: 167.7 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009151/0.9007, allocations: 0.7319 MB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.9019, allocations: 157.4 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.329e-05/0.902, allocations: 35.98 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007922/0.9028, allocations: 412.9 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.903, allocations: 138.4 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/0.9073, allocations: 1.389 MB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.9073, allocations: 8 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.9073, allocations: 0 / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003687/0.911, allocations: 1.224 MB / 1.076 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/0.9157, allocations: 2.345 MB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.9157, allocations: 4 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/0.9162, allocations: 123.8 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005716/0.9168, allocations: 157.1 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.9168, allocations: 19.98 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007745/0.9176, allocations: 0.7162 MB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.9176, allocations: 4 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.9204, allocations: 1.466 MB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006189/0.921, allocations: 339 kB / 1.081 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.9212, allocations: 16 kB / 1.081 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008374/0.922, allocations: 87.97 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.9222, allocations: 60.2 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.9223, allocations: 31.98 kB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001536/0.9238, allocations: 0.8623 MB / 1.082 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9238, allocations: 0 / 1.082 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002141/0.926, allocations: 0.6978 MB / 1.083 GB, free: 10.21 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003855/0.9298, allocations: 2.339 MB / 1.085 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002703/0.9325, allocations: 1.16 MB / 1.087 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.9326, allocations: 4 kB / 1.087 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000883/0.9334, allocations: 415.2 kB / 1.087 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/0.9368, allocations: 0.7573 MB / 1.088 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.9547, allocations: 8.376 MB / 1.096 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/0.9555, allocations: 1.172 MB / 1.097 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001351/0.9569, allocations: 311.1 kB / 1.097 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006793/0.9576, allocations: 0.5071 MB / 1.098 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of SimCode: time 2.244e-06/0.9576, allocations: 0 / 1.098 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07366/1.031, allocations: 42.04 MB / 1.139 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/1.032, allocations: 259.1 kB / 1.139 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/3.829, allocations: 0 / 1.139 GB, free: 0.8906 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat does not exist to compare? outputFormat=mat