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.472/2.472, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.00177/0.001769, allocations: 191.8 kB / 0.4901 GB, free: 2.305 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.815/1.815, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001103/0.001102, allocations: 102.3 kB / 0.9396 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003943, allocations: 10.38 kB / 1.09 GB, free: 216.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3528, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.62, allocations: 431.4 MB / 1.651 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/1.62, allocations: 95.08 kB / 1.651 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.511/5.132, allocations: 0.8782 GB / 2.529 GB, free: 192.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.114e-06/5.132, allocations: 3.031 kB / 2.529 GB, free: 192.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000209/5.132, allocations: 43.39 kB / 2.529 GB, free: 192.1 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.005729/5.138, allocations: 2.015 MB / 2.531 GB, free: 190.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/5.138, allocations: 8.031 kB / 2.531 GB, free: 190.1 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000388/5.138, allocations: 150.9 kB / 2.531 GB, free: 190 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/5.139, allocations: 242.1 kB / 2.531 GB, free: 189.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004237/5.144, allocations: 1.726 MB / 2.533 GB, free: 188 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.729e-05/5.144, allocations: 74 kB / 2.533 GB, free: 187.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/5.144, allocations: 107 kB / 2.533 GB, free: 187.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/5.146, allocations: 1.103 MB / 2.534 GB, free: 186.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/5.146, allocations: 0 / 2.534 GB, free: 186.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-05/5.146, allocations: 36 kB / 2.534 GB, free: 186.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.813e-05/5.146, allocations: 38 kB / 2.534 GB, free: 186.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/5.148, allocations: 0.921 MB / 2.535 GB, free: 185.7 MB / 1.151 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.007201/5.155, allocations: 4.741 MB / 2.54 GB, free: 180.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/5.157, allocations: 0.6278 MB / 2.54 GB, free: 180.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/5.157, allocations: 0.8254 MB / 2.541 GB, free: 179.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/5.157, allocations: 43.12 kB / 2.541 GB, free: 179.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 3.577e-06/5.157, allocations: 0 / 2.541 GB, free: 179.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.007663/5.165, allocations: 1.94 MB / 2.543 GB, free: 177.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/5.165, allocations: 59.97 kB / 2.543 GB, free: 177.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/5.167, allocations: 1.11 MB / 2.544 GB, free: 176 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/5.167, allocations: 41.7 kB / 2.544 GB, free: 176 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/5.168, allocations: 0.6382 MB / 2.545 GB, free: 175.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/5.168, allocations: 207.6 kB / 2.545 GB, free: 175.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/5.168, allocations: 12 kB / 2.545 GB, free: 175.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001185/5.168, allocations: 330 kB / 2.545 GB, free: 174.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/5.169, allocations: 275.9 kB / 2.546 GB, free: 174.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/5.169, allocations: 0.4994 MB / 2.546 GB, free: 174 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006512/5.17, allocations: 340 kB / 2.547 GB, free: 173.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/5.17, allocations: 7.953 kB / 2.547 GB, free: 173.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004517/5.174, allocations: 1.35 MB / 2.548 GB, free: 172.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003269/5.175, allocations: 1.34 MB / 2.549 GB, free: 170.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/5.175, allocations: 0 / 2.549 GB, free: 170.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007105/5.176, allocations: 167.1 kB / 2.549 GB, free: 170.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/5.176, allocations: 155.7 kB / 2.549 GB, free: 170.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008697/5.177, allocations: 0.739 MB / 2.55 GB, free: 169.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/5.179, allocations: 166.6 kB / 2.55 GB, free: 169.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.757e-05/5.179, allocations: 31.98 kB / 2.55 GB, free: 169.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/5.179, allocations: 4 kB / 2.55 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004092/5.183, allocations: 1.199 MB / 2.552 GB, free: 168.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/5.183, allocations: 4 kB / 2.552 GB, free: 168.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/5.184, allocations: 165.4 kB / 2.552 GB, free: 168.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/5.184, allocations: 154 kB / 2.552 GB, free: 168.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007329/5.185, allocations: 0.7413 MB / 2.553 GB, free: 167.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/5.187, allocations: 144.9 kB / 2.553 GB, free: 167.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.049e-05/5.187, allocations: 31.98 kB / 2.553 GB, free: 167.2 MB / 1.151 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 (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.000937/5.188, allocations: 429.2 kB / 2.553 GB, free: 166.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/5.188, allocations: 134.3 kB / 2.553 GB, free: 166.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/5.192, allocations: 1.342 MB / 2.555 GB, free: 165.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/5.192, allocations: 8 kB / 2.555 GB, free: 165.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/5.193, allocations: 0 / 2.555 GB, free: 165.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003971/5.196, allocations: 1.23 MB / 2.556 GB, free: 164.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006813/5.203, allocations: 2.702 MB / 2.558 GB, free: 161.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/5.203, allocations: 3.875 kB / 2.558 GB, free: 161.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/5.204, allocations: 126.5 kB / 2.559 GB, free: 161.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000583/5.205, allocations: 157.9 kB / 2.559 GB, free: 161.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/5.205, allocations: 19.98 kB / 2.559 GB, free: 161.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007125/5.205, allocations: 0.7224 MB / 2.559 GB, free: 160.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/5.205, allocations: 3.938 kB / 2.559 GB, free: 160.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005215/5.211, allocations: 2.019 MB / 2.561 GB, free: 158.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/5.212, allocations: 339 kB / 2.562 GB, free: 157.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004845/5.212, allocations: 12 kB / 2.562 GB, free: 157.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/5.213, allocations: 83.89 kB / 2.562 GB, free: 157.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/5.214, allocations: 52.33 kB / 2.562 GB, free: 157.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.668e-05/5.214, allocations: 35.92 kB / 2.562 GB, free: 157.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001788/5.215, allocations: 0.9014 MB / 2.563 GB, free: 156.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.61e-07/5.215, allocations: 0 / 2.563 GB, free: 156.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00332/5.219, allocations: 0.7875 MB / 2.564 GB, free: 155.9 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 () * 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.007662/5.227, allocations: 4.022 MB / 2.567 GB, free: 151.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002663/5.229, allocations: 1.105 MB / 2.569 GB, free: 150.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/5.229, allocations: 0 / 2.569 GB, free: 150.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008914/5.23, allocations: 415.3 kB / 2.569 GB, free: 150.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004262/5.234, allocations: 0.7578 MB / 2.57 GB, free: 149.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/5.257, allocations: 10.47 MB / 2.58 GB, free: 138.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009605/5.258, allocations: 1.196 MB / 2.581 GB, free: 137.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001774/5.259, allocations: 300.4 kB / 2.581 GB, free: 137.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008764/5.26, allocations: 0.5188 MB / 2.582 GB, free: 136.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.853e-06/5.26, allocations: 0 / 2.582 GB, free: 136.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08394/5.344, allocations: 47.36 MB / 2.628 GB, free: 90.66 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/5.345, allocations: 249.9 kB / 2.628 GB, free: 90.32 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.143/9.487, allocations: 3.938 kB / 2.628 GB, free: 90.32 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