Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_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.0009969/0.0009969, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001318/0.001318, 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.4/1.4, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.521/2.521, allocations: 409.4 MB / 0.684 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003878, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7374/0.7379, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06483/0.8027, allocations: 69.48 MB / 1.049 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01906/0.8219, allocations: 14.18 MB / 1.063 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003044/0.825, allocations: 55.62 kB / 1.063 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.8272, allocations: 0.5705 MB / 1.063 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007272/0.8345, allocations: 1.993 MB / 1.065 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.838, allocations: 0.9629 MB / 1.066 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006964/0.845, allocations: 4.802 MB / 1.071 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.847, allocations: 1.025 MB / 1.072 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.85, allocations: 1.283 MB / 1.073 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.8521, allocations: 1.085 MB / 1.074 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.8523, allocations: 52 kB / 1.074 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/0.855, allocations: 0.9355 MB / 1.075 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003273/0.8553, allocations: 278.7 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005681/0.8559, allocations: 356.9 kB / 1.076 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.8584, allocations: 2.089 MB / 1.078 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8585, allocations: 0 / 1.078 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8585, allocations: 0 / 1.078 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.047e-05/0.8585, allocations: 0 / 1.078 GB, free: 2.844 MB / 0.8262 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.003452/0.862, allocations: 1.799 MB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.862, allocations: 12.03 kB / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/0.8622, allocations: 144 kB / 1.08 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007249/0.8629, allocations: 245.8 kB / 1.08 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.8655, allocations: 1.451 MB / 1.081 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.507e-05/0.8656, allocations: 81.98 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.8657, allocations: 103.9 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.8678, allocations: 1.116 MB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.8678, allocations: 0 / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.275e-05/0.8679, allocations: 44 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/0.868, allocations: 24 kB / 1.083 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.8699, allocations: 0.9251 MB / 1.084 GB, free: 12.75 MB / 0.8419 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.006663/0.8765, allocations: 4.919 MB / 1.089 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.8778, allocations: 0.636 MB / 1.089 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006806/0.8785, allocations: 367.5 kB / 1.09 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007793/0.8793, allocations: 0.8277 MB / 1.09 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.8794, allocations: 43.12 kB / 1.09 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=62): time 2.144e-06/0.8794, allocations: 0 / 1.09 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of matching and sorting (n=62): time 0.004518/0.8839, allocations: 1.518 MB / 1.092 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.884, allocations: 63.97 kB / 1.092 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.8856, allocations: 1.198 MB / 1.093 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.651e-05/0.8857, allocations: 41.7 kB / 1.093 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.8862, allocations: 0.6065 MB / 1.094 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.8864, allocations: 212.9 kB / 1.094 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.8864, allocations: 12 kB / 1.094 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.8866, allocations: 337.9 kB / 1.094 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006696/0.8872, allocations: 301.8 kB / 1.095 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008035/0.888, allocations: 0.5037 MB / 1.095 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/0.8888, allocations: 355 kB / 1.095 GB, free: 208 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.8888, allocations: 0 / 1.095 GB, free: 208 kB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004141/0.8929, allocations: 1.39 MB / 1.097 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.8931, allocations: 189.1 kB / 1.097 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.8931, allocations: 7.984 kB / 1.097 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006535/0.8938, allocations: 160.7 kB / 1.097 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.8944, allocations: 171.8 kB / 1.097 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008636/0.8953, allocations: 0.7279 MB / 1.098 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.8965, allocations: 172.5 kB / 1.098 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/0.8966, allocations: 39.97 kB / 1.098 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.8966, allocations: 5.406 kB / 1.098 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003795/0.9004, allocations: 1.238 MB / 1.099 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.9004, allocations: 4.375 kB / 1.099 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/0.901, allocations: 172.6 kB / 1.1 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/0.9015, allocations: 163.8 kB / 1.1 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008163/0.9023, allocations: 0.7163 MB / 1.1 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.9035, allocations: 159.2 kB / 1.101 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.9036, allocations: 31.98 kB / 1.101 GB, free: 10.76 MB / 0.8575 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.0006752/0.9042, allocations: 426.8 kB / 1.101 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.9044, allocations: 134.4 kB / 1.101 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/0.9085, allocations: 1.4 MB / 1.102 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.9085, allocations: 7.984 kB / 1.102 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.9085, allocations: 0 / 1.102 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003722/0.9123, allocations: 1.217 MB / 1.104 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/0.9161, allocations: 2.341 MB / 1.106 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.9161, allocations: 8.031 kB / 1.106 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.9166, allocations: 123.8 kB / 1.106 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005117/0.9171, allocations: 152.7 kB / 1.106 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.9171, allocations: 19.98 kB / 1.106 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007165/0.9179, allocations: 0.7162 MB / 1.107 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.9179, allocations: 7.938 kB / 1.107 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.9206, allocations: 1.45 MB / 1.108 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/0.9212, allocations: 339.1 kB / 1.109 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.9213, allocations: 16 kB / 1.109 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007676/0.9221, allocations: 99.84 kB / 1.109 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.91e-05/0.9222, allocations: 56.27 kB / 1.109 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.9223, allocations: 31.98 kB / 1.109 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001317/0.9236, allocations: 0.8584 MB / 1.11 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9236, allocations: 0 / 1.11 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001696/0.9253, allocations: 0.7056 MB / 1.11 GB, free: 392 kB / 0.8575 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.003587/0.9289, allocations: 2.318 MB / 1.113 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002519/0.9314, allocations: 1.164 MB / 1.114 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.9315, allocations: 7.938 kB / 1.114 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008736/0.9323, allocations: 411.3 kB / 1.114 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003385/0.9357, allocations: 0.7495 MB / 1.115 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/0.9539, allocations: 8.364 MB / 1.123 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009594/0.9549, allocations: 1.168 MB / 1.124 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001424/0.9564, allocations: 307 kB / 1.125 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/0.9571, allocations: 0.5187 MB / 1.125 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of SimCode: time 6.92e-07/0.9571, allocations: 0 / 1.125 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07012/1.027, allocations: 42 MB / 1.166 GB, free: 7.461 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/1.027, allocations: 263.7 kB / 1.166 GB, free: 7.102 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/3.96, allocations: 3.75 kB / 1.166 GB, free: 7.102 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat does not exist to compare? outputFormat=mat