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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.574/2.574, allocations: 390.5 MB / 398 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 176.9 kB / 491.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009643/0.0009642, allocations: 105.2 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.199e-05/4.206e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4041, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.348/1.752, allocations: 430.7 MB / 1.633 GB, free: 492 kB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/1.753, allocations: 90.52 kB / 1.633 GB, free: 448 kB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.319/5.072, allocations: 0.8716 GB / 2.505 GB, free: 125.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.705e-06/5.072, allocations: 0 / 2.505 GB, free: 125.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002483/5.072, allocations: 48.47 kB / 2.505 GB, free: 125.5 MB / 1.151 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.005083/5.077, allocations: 1.725 MB / 2.506 GB, free: 123.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/5.077, allocations: 11.97 kB / 2.506 GB, free: 123.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/5.078, allocations: 245.8 kB / 2.507 GB, free: 123.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/5.082, allocations: 1.701 MB / 2.508 GB, free: 121.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/5.082, allocations: 31.94 kB / 2.508 GB, free: 121.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/5.082, allocations: 67.86 kB / 2.508 GB, free: 121.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00128/5.083, allocations: 0.703 MB / 2.509 GB, free: 121 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/5.085, allocations: 0.8883 MB / 2.51 GB, free: 120.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/5.085, allocations: 0 / 2.51 GB, free: 120.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.65e-05/5.085, allocations: 4 kB / 2.51 GB, free: 120.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/5.085, allocations: 34 kB / 2.51 GB, free: 120 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.006051/5.091, allocations: 4.52 MB / 2.514 GB, free: 115.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008059/5.092, allocations: 0.4999 MB / 2.515 GB, free: 114.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/5.092, allocations: 252.2 kB / 2.515 GB, free: 114.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005356/5.093, allocations: 0.8304 MB / 2.516 GB, free: 113.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/5.093, allocations: 50 kB / 2.516 GB, free: 113.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 3.066e-06/5.093, allocations: 0 / 2.516 GB, free: 113.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.003883/5.097, allocations: 1.008 MB / 2.517 GB, free: 112.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/5.097, allocations: 59.97 kB / 2.517 GB, free: 112.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/5.098, allocations: 0.8951 MB / 2.518 GB, free: 111.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.554e-05/5.098, allocations: 25.7 kB / 2.518 GB, free: 111.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/5.098, allocations: 0.6288 MB / 2.519 GB, free: 110.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/5.098, allocations: 201 kB / 2.519 GB, free: 110.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/5.098, allocations: 7.938 kB / 2.519 GB, free: 110.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.933e-05/5.099, allocations: 326 kB / 2.519 GB, free: 110.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/5.099, allocations: 197.5 kB / 2.519 GB, free: 110.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/5.099, allocations: 416.6 kB / 2.52 GB, free: 109.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/5.1, allocations: 278 kB / 2.52 GB, free: 109.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/5.1, allocations: 0 / 2.52 GB, free: 109.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003871/5.104, allocations: 1.137 MB / 2.521 GB, free: 108.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002813/5.104, allocations: 1.324 MB / 2.522 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/5.104, allocations: 0 / 2.522 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004459/5.104, allocations: 128.7 kB / 2.522 GB, free: 106.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/5.105, allocations: 163.8 kB / 2.523 GB, free: 106.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006284/5.106, allocations: 0.6929 MB / 2.523 GB, free: 105.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/5.107, allocations: 127.2 kB / 2.523 GB, free: 105.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/5.107, allocations: 35.98 kB / 2.523 GB, free: 105.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/5.107, allocations: 4 kB / 2.523 GB, free: 105.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004423/5.112, allocations: 0.9859 MB / 2.524 GB, free: 104.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/5.112, allocations: 8.031 kB / 2.524 GB, free: 104.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/5.112, allocations: 128.7 kB / 2.525 GB, free: 104.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/5.113, allocations: 151.8 kB / 2.525 GB, free: 104.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005496/5.113, allocations: 0.7006 MB / 2.525 GB, free: 103.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/5.115, allocations: 103.5 kB / 2.526 GB, free: 103.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/5.115, allocations: 43.92 kB / 2.526 GB, free: 103.5 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.yPL:VARIABLE(min = 0.0 unit = "1" ) "Part load ratio" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.000249/5.115, allocations: 125 kB / 2.526 GB, free: 103.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003614/5.118, allocations: 1.002 MB / 2.527 GB, free: 102.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/5.119, allocations: 118.6 kB / 2.527 GB, free: 102.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00395/5.123, allocations: 1.124 MB / 2.528 GB, free: 101.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/5.123, allocations: 11.94 kB / 2.528 GB, free: 101.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/5.123, allocations: 0 / 2.528 GB, free: 101.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003364/5.126, allocations: 1.037 MB / 2.529 GB, free: 100 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005757/5.132, allocations: 2.351 MB / 2.531 GB, free: 97.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/5.132, allocations: 0 / 2.531 GB, free: 97.61 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/5.132, allocations: 123.8 kB / 2.531 GB, free: 97.49 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/5.133, allocations: 128.8 kB / 2.531 GB, free: 97.36 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/5.133, allocations: 8 kB / 2.531 GB, free: 97.36 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004397/5.133, allocations: 0.6889 MB / 2.532 GB, free: 96.64 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/5.133, allocations: 4 kB / 2.532 GB, free: 96.64 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00413/5.137, allocations: 1.704 MB / 2.534 GB, free: 94.82 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/5.138, allocations: 311.3 kB / 2.534 GB, free: 94.49 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/5.138, allocations: 8 kB / 2.534 GB, free: 94.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007365/5.139, allocations: 63.98 kB / 2.534 GB, free: 94.42 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/5.139, allocations: 60.2 kB / 2.534 GB, free: 94.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.344e-05/5.139, allocations: 27.98 kB / 2.534 GB, free: 94.33 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009112/5.14, allocations: 0.6815 MB / 2.535 GB, free: 93.64 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/5.14, allocations: 0 / 2.535 GB, free: 93.64 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002127/5.142, allocations: 0.7792 MB / 2.536 GB, free: 92.86 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete 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.005868/5.148, allocations: 3.744 MB / 2.539 GB, free: 89.11 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001672/5.15, allocations: 0.9049 MB / 2.54 GB, free: 88.21 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/5.15, allocations: 0 / 2.54 GB, free: 88.21 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004887/5.15, allocations: 319.2 kB / 2.54 GB, free: 87.89 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/5.153, allocations: 0.5736 MB / 2.541 GB, free: 87.34 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/5.157, allocations: 2 MB / 2.543 GB, free: 85.25 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/5.158, allocations: 1.197 MB / 2.544 GB, free: 84.03 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001357/5.159, allocations: 335.8 kB / 2.544 GB, free: 83.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/5.16, allocations: 491.3 kB / 2.545 GB, free: 83.22 MB / 1.151 GB Notification: Performance of SimCode: time 1.082e-06/5.16, allocations: 0 / 2.545 GB, free: 83.22 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06514/5.225, allocations: 38.89 MB / 2.583 GB, free: 44.69 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/5.225, allocations: 172.6 kB / 2.583 GB, free: 44.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.263/8.488, allocations: 0 / 2.583 GB, free: 44.5 MB / 1.151 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) 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