Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.482/2.482, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001727/0.001727, allocations: 186.9 kB / 498.1 MB, free: 5.727 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.673/1.673, allocations: 223.1 MB / 0.7948 GB, free: 17.8 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.0009681/0.0009681, allocations: 92.34 kB / 0.9346 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 7.594 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3434, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.207/4.55, allocations: 1.715 GB / 2.938 GB, free: 305 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/4.551, allocations: 89.69 kB / 2.938 GB, free: 304.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1035/4.654, allocations: 56.26 MB / 2.993 GB, free: 247.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.363e-06/4.654, allocations: 0 / 2.993 GB, free: 247.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.369e-05/4.654, allocations: 0 / 2.993 GB, free: 247.7 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007776/4.655, allocations: 478.8 kB / 2.993 GB, free: 247.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/4.655, allocations: 8.031 kB / 2.993 GB, free: 247.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/4.655, allocations: 50.55 kB / 2.993 GB, free: 247.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000581/4.656, allocations: 51.77 kB / 2.993 GB, free: 247.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/4.656, allocations: 198.7 kB / 2.994 GB, free: 246.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/4.656, allocations: 4 kB / 2.994 GB, free: 246.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/4.656, allocations: 12 kB / 2.994 GB, free: 246.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/4.656, allocations: 196.3 kB / 2.994 GB, free: 246.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/4.656, allocations: 0 / 2.994 GB, free: 246.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/4.657, allocations: 8 kB / 2.994 GB, free: 246.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/4.657, allocations: 4 kB / 2.994 GB, free: 246.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/4.657, allocations: 167.8 kB / 2.994 GB, free: 246.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/4.658, allocations: 0.8331 MB / 2.995 GB, free: 245.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/4.658, allocations: 142.5 kB / 2.995 GB, free: 245.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/4.658, allocations: 8 kB / 2.995 GB, free: 245.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/4.658, allocations: 30.56 kB / 2.995 GB, free: 245.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/4.658, allocations: 0 / 2.995 GB, free: 245.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=8): time 0.00193/4.66, allocations: 0.4915 MB / 2.995 GB, free: 244.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/4.66, allocations: 51.41 kB / 2.995 GB, free: 244.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/4.661, allocations: 122.2 kB / 2.996 GB, free: 244.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/4.661, allocations: 37.7 kB / 2.996 GB, free: 244.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/4.661, allocations: 112 kB / 2.996 GB, free: 244.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/4.661, allocations: 31.55 kB / 2.996 GB, free: 244.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/4.661, allocations: 0 / 2.996 GB, free: 244.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/4.661, allocations: 322.8 kB / 2.996 GB, free: 244.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/4.661, allocations: 87.86 kB / 2.996 GB, free: 244 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/4.661, allocations: 125.9 kB / 2.996 GB, free: 243.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/4.661, allocations: 87.97 kB / 2.996 GB, free: 243.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/4.661, allocations: 4 kB / 2.996 GB, free: 243.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001001/4.662, allocations: 294.1 kB / 2.997 GB, free: 243.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/4.662, allocations: 5.562 kB / 2.997 GB, free: 243.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/4.662, allocations: 4 kB / 2.997 GB, free: 243.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/4.663, allocations: 88.88 kB / 2.997 GB, free: 243.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/4.663, allocations: 39.91 kB / 2.997 GB, free: 243.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/4.665, allocations: 1.572 MB / 2.998 GB, free: 241.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/4.665, allocations: 28.02 kB / 2.998 GB, free: 241.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/4.665, allocations: 7.984 kB / 2.998 GB, free: 241.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 9.983e-05/4.666, allocations: 125.8 kB / 2.998 GB, free: 241.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/4.666, allocations: 7.906 kB / 2.998 GB, free: 241.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/4.667, allocations: 338.8 kB / 2.999 GB, free: 241.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/4.667, allocations: 4 kB / 2.999 GB, free: 241.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/4.667, allocations: 3.938 kB / 2.999 GB, free: 241.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/4.667, allocations: 0 / 2.999 GB, free: 241.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/4.667, allocations: 237.4 kB / 2.999 GB, free: 240.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/4.667, allocations: 3.953 kB / 2.999 GB, free: 240.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/4.667, allocations: 31.97 kB / 2.999 GB, free: 240.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005051/4.668, allocations: 88.75 kB / 2.999 GB, free: 240.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/4.668, allocations: 4 kB / 2.999 GB, free: 240.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/4.669, allocations: 1.59 MB / 3.001 GB, free: 239 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/4.669, allocations: 0 / 3.001 GB, free: 239 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009739/4.67, allocations: 404 kB / 3.001 GB, free: 238.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/4.67, allocations: 85.02 kB / 3.001 GB, free: 238.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/4.67, allocations: 4 kB / 3.001 GB, free: 238.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/4.671, allocations: 23.92 kB / 3.001 GB, free: 238.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/4.671, allocations: 20.25 kB / 3.001 GB, free: 238.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/4.671, allocations: 8 kB / 3.001 GB, free: 238.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 5.512e-05/4.671, allocations: 113.6 kB / 3.001 GB, free: 238.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.41e-07/4.671, allocations: 0 / 3.001 GB, free: 238.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004918/4.671, allocations: 95.83 kB / 3.001 GB, free: 238.2 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 (10): * Single equations (assignments): 9 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001825/4.673, allocations: 1.432 MB / 3.003 GB, free: 236.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000868/4.674, allocations: 326.7 kB / 3.003 GB, free: 236.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/4.674, allocations: 4 kB / 3.003 GB, free: 236.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004829/4.674, allocations: 242.5 kB / 3.003 GB, free: 236.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/4.675, allocations: 31.88 kB / 3.003 GB, free: 236.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/4.677, allocations: 1.629 MB / 3.005 GB, free: 234.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/4.677, allocations: 0.7088 MB / 3.006 GB, free: 233.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001718/4.678, allocations: 28.83 kB / 3.006 GB, free: 233.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.437e-05/4.678, allocations: 35.41 kB / 3.006 GB, free: 233.6 MB / 1.167 GB Notification: Performance of SimCode: time 7.985e-06/4.678, allocations: 4 kB / 3.006 GB, free: 233.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/4.703, allocations: 14 MB / 3.019 GB, free: 219.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/4.703, allocations: 214.7 kB / 3.02 GB, free: 219.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/6.921, allocations: 0 / 3.02 GB, free: 219.6 MB / 1.167 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat does not exist to compare? outputFormat=mat