Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.0009952/0.0009951, allocations: 173.2 kB / 498.1 MB, free: 5.734 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.797/1.797, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009576/0.0009578, allocations: 98.94 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003947, allocations: 13.88 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.579/4.911, allocations: 1.731 GB / 2.954 GB, free: 288.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/4.911, allocations: 88.77 kB / 2.954 GB, free: 288.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1577/5.069, allocations: 86.52 MB / 3.039 GB, free: 200 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.595e-06/5.069, allocations: 0 / 3.039 GB, free: 200 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.107e-05/5.069, allocations: 4 kB / 3.039 GB, free: 200 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001167/5.071, allocations: 0.5073 MB / 3.039 GB, free: 199.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/5.071, allocations: 12.03 kB / 3.039 GB, free: 199.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/5.071, allocations: 46.55 kB / 3.039 GB, free: 199.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008627/5.072, allocations: 87.7 kB / 3.039 GB, free: 199.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/5.072, allocations: 223.5 kB / 3.039 GB, free: 199 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.721e-05/5.072, allocations: 38.03 kB / 3.039 GB, free: 199 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/5.072, allocations: 19.98 kB / 3.039 GB, free: 199 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/5.073, allocations: 268.3 kB / 3.04 GB, free: 198.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/5.073, allocations: 7.938 kB / 3.04 GB, free: 198.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/5.073, allocations: 8 kB / 3.04 GB, free: 198.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/5.073, allocations: 4 kB / 3.04 GB, free: 198.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/5.073, allocations: 175.8 kB / 3.04 GB, free: 198.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/5.075, allocations: 1.192 MB / 3.041 GB, free: 197.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007557/5.076, allocations: 214.6 kB / 3.041 GB, free: 197 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/5.076, allocations: 4 kB / 3.041 GB, free: 197 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/5.076, allocations: 38.56 kB / 3.041 GB, free: 196.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=12): time 2.044e-06/5.076, allocations: 0 / 3.041 GB, free: 196.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=12): time 0.00264/5.078, allocations: 0.6492 MB / 3.042 GB, free: 196.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/5.078, allocations: 55.41 kB / 3.042 GB, free: 196.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/5.079, allocations: 174.5 kB / 3.042 GB, free: 196 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/5.079, allocations: 25.7 kB / 3.042 GB, free: 196 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/5.079, allocations: 139.6 kB / 3.042 GB, free: 195.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/5.079, allocations: 47.38 kB / 3.042 GB, free: 195.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.462e-05/5.079, allocations: 4.219 kB / 3.042 GB, free: 195.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.774e-05/5.079, allocations: 326.8 kB / 3.043 GB, free: 195.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/5.079, allocations: 76.27 kB / 3.043 GB, free: 195.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/5.079, allocations: 149.2 kB / 3.043 GB, free: 195.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/5.08, allocations: 83.75 kB / 3.043 GB, free: 195.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/5.08, allocations: 4 kB / 3.043 GB, free: 195.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001396/5.081, allocations: 390.7 kB / 3.043 GB, free: 194.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/5.081, allocations: 4 kB / 3.043 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/5.081, allocations: 4 kB / 3.043 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/5.082, allocations: 169.7 kB / 3.044 GB, free: 194.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/5.082, allocations: 39.95 kB / 3.044 GB, free: 194.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/5.086, allocations: 3.062 MB / 3.047 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/5.086, allocations: 39.8 kB / 3.047 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/5.086, allocations: 15.98 kB / 3.047 GB, free: 191.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001387/5.086, allocations: 125.8 kB / 3.047 GB, free: 191 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/5.086, allocations: 15.81 kB / 3.047 GB, free: 191 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/5.088, allocations: 388.2 kB / 3.047 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/5.088, allocations: 4 kB / 3.047 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/5.088, allocations: 0 / 3.047 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/5.088, allocations: 0 / 3.047 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/5.088, allocations: 273.4 kB / 3.047 GB, free: 190.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/5.088, allocations: 0 / 3.047 GB, free: 190.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/5.088, allocations: 27.92 kB / 3.047 GB, free: 190.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009334/5.089, allocations: 169.5 kB / 3.048 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/5.089, allocations: 0 / 3.048 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/5.092, allocations: 3.099 MB / 3.051 GB, free: 186.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/5.092, allocations: 4.062 kB / 3.051 GB, free: 186.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/5.093, allocations: 446.6 kB / 3.051 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/5.093, allocations: 112.8 kB / 3.051 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/5.093, allocations: 7.984 kB / 3.051 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/5.094, allocations: 15.98 kB / 3.051 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/5.094, allocations: 16.11 kB / 3.051 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/5.094, allocations: 11.98 kB / 3.051 GB, free: 186 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001482/5.094, allocations: 158.7 kB / 3.051 GB, free: 185.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/5.094, allocations: 0 / 3.051 GB, free: 185.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006533/5.095, allocations: 139.8 kB / 3.052 GB, free: 185.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002108/5.097, allocations: 1.58 MB / 3.053 GB, free: 184.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001013/5.098, allocations: 457.5 kB / 3.053 GB, free: 183.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/5.098, allocations: 0 / 3.053 GB, free: 183.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006011/5.099, allocations: 357.3 kB / 3.054 GB, free: 183.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/5.099, allocations: 48.14 kB / 3.054 GB, free: 183.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/5.102, allocations: 2.398 MB / 3.056 GB, free: 180.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/5.102, allocations: 0.7361 MB / 3.057 GB, free: 180 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002089/5.102, allocations: 33.89 kB / 3.057 GB, free: 180 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.466e-05/5.103, allocations: 55.41 kB / 3.057 GB, free: 179.9 MB / 1.167 GB Notification: Performance of SimCode: time 9.02e-07/5.103, allocations: 0 / 3.057 GB, free: 179.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/5.133, allocations: 18.55 MB / 3.075 GB, free: 161.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/5.133, allocations: 218.5 kB / 3.075 GB, free: 161.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/7.665, allocations: 0 / 3.075 GB, free: 161.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat