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.338/2.338, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001088/0.001088, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.677/1.677, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0008907/0.0008908, allocations: 92.02 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.24e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3166, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.26/1.577, allocations: 431.4 MB / 1.64 GB, free: 2.883 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/1.577, allocations: 92.5 kB / 1.64 GB, free: 2.793 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 3.273/4.85, allocations: 0.8754 GB / 2.516 GB, free: 67.43 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.465e-06/4.85, allocations: 4 kB / 2.516 GB, free: 67.42 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002836/4.85, allocations: 39.98 kB / 2.516 GB, free: 67.38 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.005374/4.855, allocations: 1.735 MB / 2.517 GB, free: 65.59 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/4.856, allocations: 8.031 kB / 2.517 GB, free: 65.58 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000258/4.856, allocations: 148.6 kB / 2.518 GB, free: 65.43 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/4.857, allocations: 243.2 kB / 2.518 GB, free: 65.19 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003256/4.86, allocations: 1.716 MB / 2.519 GB, free: 63.42 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/4.86, allocations: 70 kB / 2.519 GB, free: 63.35 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/4.86, allocations: 100 kB / 2.52 GB, free: 63.25 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/4.862, allocations: 1.019 MB / 2.521 GB, free: 62.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/4.862, allocations: 0 / 2.521 GB, free: 62.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/4.862, allocations: 40 kB / 2.521 GB, free: 62.16 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.474e-05/4.862, allocations: 37.98 kB / 2.521 GB, free: 62.12 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/4.863, allocations: 0.7654 MB / 2.521 GB, free: 61.36 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.005532/4.869, allocations: 4.738 MB / 2.526 GB, free: 56.38 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008858/4.87, allocations: 0.5294 MB / 2.527 GB, free: 55.84 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/4.87, allocations: 276.4 kB / 2.527 GB, free: 55.57 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/4.871, allocations: 0.8316 MB / 2.528 GB, free: 54.55 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/4.871, allocations: 39.12 kB / 2.528 GB, free: 54.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 2.575e-06/4.871, allocations: 0 / 2.528 GB, free: 54.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.003667/4.874, allocations: 1.041 MB / 2.529 GB, free: 53.45 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/4.874, allocations: 59.97 kB / 2.529 GB, free: 53.38 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/4.876, allocations: 1.097 MB / 2.53 GB, free: 52.27 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/4.876, allocations: 41.7 kB / 2.53 GB, free: 52.22 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/4.876, allocations: 0.634 MB / 2.53 GB, free: 51.58 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/4.876, allocations: 216.9 kB / 2.531 GB, free: 51.37 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/4.876, allocations: 12 kB / 2.531 GB, free: 51.36 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.87e-05/4.876, allocations: 334 kB / 2.531 GB, free: 51.02 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/4.877, allocations: 201.5 kB / 2.531 GB, free: 50.83 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/4.877, allocations: 438.2 kB / 2.532 GB, free: 50.31 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/4.878, allocations: 273.1 kB / 2.532 GB, free: 50.04 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/4.878, allocations: 0 / 2.532 GB, free: 50.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003626/4.881, allocations: 1.181 MB / 2.533 GB, free: 48.85 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003375/4.882, allocations: 1.344 MB / 2.534 GB, free: 47.43 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/4.882, allocations: 4 kB / 2.534 GB, free: 47.42 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005082/4.882, allocations: 132.8 kB / 2.534 GB, free: 47.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/4.883, allocations: 151.8 kB / 2.535 GB, free: 47.14 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000526/4.883, allocations: 0.6928 MB / 2.535 GB, free: 46.42 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/4.885, allocations: 163 kB / 2.535 GB, free: 46.26 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/4.885, allocations: 35.92 kB / 2.535 GB, free: 46.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/4.885, allocations: 8 kB / 2.535 GB, free: 46.22 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003428/4.888, allocations: 1.036 MB / 2.537 GB, free: 45.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/4.888, allocations: 4 kB / 2.537 GB, free: 45.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003843/4.889, allocations: 125.2 kB / 2.537 GB, free: 45.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/4.889, allocations: 163.7 kB / 2.537 GB, free: 44.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004396/4.89, allocations: 0.685 MB / 2.537 GB, free: 44.18 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/4.891, allocations: 143.2 kB / 2.538 GB, free: 44.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/4.891, allocations: 35.98 kB / 2.538 GB, free: 44 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 () * 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.000213/4.891, allocations: 153 kB / 2.538 GB, free: 43.85 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/4.891, allocations: 138.3 kB / 2.538 GB, free: 43.71 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/4.895, allocations: 1.176 MB / 2.539 GB, free: 42.52 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/4.895, allocations: 8 kB / 2.539 GB, free: 42.52 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/4.895, allocations: 0 / 2.539 GB, free: 42.52 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00329/4.899, allocations: 1.068 MB / 2.54 GB, free: 41.41 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005796/4.904, allocations: 2.542 MB / 2.543 GB, free: 38.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/4.904, allocations: 4 kB / 2.543 GB, free: 38.76 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/4.905, allocations: 124.2 kB / 2.543 GB, free: 38.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003859/4.905, allocations: 116.7 kB / 2.543 GB, free: 38.52 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/4.905, allocations: 23.98 kB / 2.543 GB, free: 38.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004589/4.906, allocations: 0.6733 MB / 2.543 GB, free: 37.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/4.906, allocations: 7.938 kB / 2.544 GB, free: 37.79 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004209/4.91, allocations: 1.79 MB / 2.545 GB, free: 35.81 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008611/4.911, allocations: 331.1 kB / 2.546 GB, free: 35.47 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000394/4.911, allocations: 19.95 kB / 2.546 GB, free: 35.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/4.912, allocations: 83.83 kB / 2.546 GB, free: 35.37 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/4.913, allocations: 64.25 kB / 2.546 GB, free: 35.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/4.913, allocations: 27.98 kB / 2.546 GB, free: 35.28 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00165/4.914, allocations: 0.8842 MB / 2.547 GB, free: 34.39 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.81e-07/4.914, allocations: 0 / 2.547 GB, free: 34.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00256/4.917, allocations: 0.7798 MB / 2.547 GB, free: 33.61 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.006002/4.923, allocations: 3.811 MB / 2.551 GB, free: 29.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001729/4.925, allocations: 0.9402 MB / 2.552 GB, free: 28.76 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/4.925, allocations: 0 / 2.552 GB, free: 28.76 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005676/4.925, allocations: 335.8 kB / 2.552 GB, free: 28.43 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/4.929, allocations: 0.7587 MB / 2.553 GB, free: 27.69 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/4.934, allocations: 2.097 MB / 2.555 GB, free: 25.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/4.935, allocations: 1.206 MB / 2.556 GB, free: 24.26 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00204/4.937, allocations: 390.4 kB / 2.557 GB, free: 23.88 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006038/4.938, allocations: 0.4915 MB / 2.557 GB, free: 23.39 MB / 1.151 GB Notification: Performance of SimCode: time 1.042e-06/4.938, allocations: 0 / 2.557 GB, free: 23.39 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8547/5.793, allocations: 49.66 MB / 2.606 GB, free: 240.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/5.793, allocations: 227.7 kB / 2.606 GB, free: 240.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.722/9.515, allocations: 3.172 kB / 2.606 GB, free: 240.2 MB / 1.167 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