Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.328/2.328, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001049/0.00105, allocations: 186.9 kB / 0.4901 GB, free: 2.238 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.697/1.697, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.001096/0.001096, allocations: 109.9 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003802, allocations: 6.844 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3543, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.349/4.703, allocations: 1.716 GB / 2.945 GB, free: 271.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/4.703, allocations: 89.5 kB / 2.945 GB, free: 271.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1006/4.804, allocations: 56.26 MB / 3 GB, free: 214.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.813e-06/4.804, allocations: 0 / 3 GB, free: 214.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.136e-05/4.804, allocations: 0 / 3 GB, free: 214.6 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.0006928/4.805, allocations: 475.9 kB / 3 GB, free: 214.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/4.805, allocations: 8.562 kB / 3 GB, free: 214.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/4.805, allocations: 38.56 kB / 3 GB, free: 214 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005581/4.806, allocations: 55.75 kB / 3.001 GB, free: 213.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/4.806, allocations: 199 kB / 3.001 GB, free: 213.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/4.806, allocations: 11.94 kB / 3.001 GB, free: 213.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/4.806, allocations: 8 kB / 3.001 GB, free: 213.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/4.806, allocations: 195.9 kB / 3.001 GB, free: 213.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/4.806, allocations: 3.938 kB / 3.001 GB, free: 213.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/4.806, allocations: 0 / 3.001 GB, free: 213.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/4.806, allocations: 4 kB / 3.001 GB, free: 213.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/4.807, allocations: 171.7 kB / 3.001 GB, free: 213.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009256/4.808, allocations: 0.8358 MB / 3.002 GB, free: 212.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/4.808, allocations: 138.5 kB / 3.002 GB, free: 212.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/4.808, allocations: 4.156 kB / 3.002 GB, free: 212.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/4.808, allocations: 34.56 kB / 3.002 GB, free: 212.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/4.808, allocations: 3.938 kB / 3.002 GB, free: 212.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=8): time 0.00189/4.81, allocations: 0.4912 MB / 3.003 GB, free: 211.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/4.81, allocations: 51.41 kB / 3.003 GB, free: 211.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/4.81, allocations: 127 kB / 3.003 GB, free: 211.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/4.81, allocations: 29.7 kB / 3.003 GB, free: 211.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/4.81, allocations: 108 kB / 3.003 GB, free: 211.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/4.81, allocations: 23.66 kB / 3.003 GB, free: 211.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/4.81, allocations: 4 kB / 3.003 GB, free: 211.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.689e-05/4.81, allocations: 326.8 kB / 3.003 GB, free: 211 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/4.81, allocations: 75.94 kB / 3.003 GB, free: 210.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/4.811, allocations: 129.9 kB / 3.003 GB, free: 210.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/4.811, allocations: 91.91 kB / 3.003 GB, free: 210.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/4.811, allocations: 4 kB / 3.003 GB, free: 210.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009919/4.812, allocations: 306.3 kB / 3.004 GB, free: 210.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/4.812, allocations: 4 kB / 3.004 GB, free: 210.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/4.812, allocations: 80 / 3.004 GB, free: 210.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/4.813, allocations: 88.88 kB / 3.004 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/4.813, allocations: 43.97 kB / 3.004 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/4.815, allocations: 1.567 MB / 3.005 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/4.815, allocations: 31.81 kB / 3.005 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/4.815, allocations: 11.98 kB / 3.005 GB, free: 208.5 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.602e-05/4.815, allocations: 118.6 kB / 3.006 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/4.815, allocations: 11.91 kB / 3.006 GB, free: 208.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/4.816, allocations: 338.7 kB / 3.006 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/4.816, allocations: 4 kB / 3.006 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/4.816, allocations: 0 / 3.006 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/4.816, allocations: 0 / 3.006 GB, free: 208 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/4.816, allocations: 245.4 kB / 3.006 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/4.816, allocations: 7.953 kB / 3.006 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/4.817, allocations: 35.91 kB / 3.006 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/4.817, allocations: 88.75 kB / 3.006 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/4.817, allocations: 4 kB / 3.006 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/4.819, allocations: 1.583 MB / 3.008 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/4.819, allocations: 0 / 3.008 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009623/4.82, allocations: 407.5 kB / 3.008 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/4.82, allocations: 89.28 kB / 3.008 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/4.82, allocations: 0 / 3.008 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/4.82, allocations: 19.98 kB / 3.008 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/4.82, allocations: 19.95 kB / 3.008 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/4.82, allocations: 4 kB / 3.008 GB, free: 205.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 5.258e-05/4.82, allocations: 112.6 kB / 3.008 GB, free: 205.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/4.82, allocations: 0 / 3.008 GB, free: 205.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004709/4.821, allocations: 91.91 kB / 3.009 GB, free: 205.1 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.001749/4.822, allocations: 1.423 MB / 3.01 GB, free: 203.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008181/4.823, allocations: 322.7 kB / 3.01 GB, free: 203.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/4.823, allocations: 0 / 3.01 GB, free: 203.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004807/4.824, allocations: 246.5 kB / 3.01 GB, free: 203.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/4.824, allocations: 25.08 kB / 3.011 GB, free: 203 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/4.826, allocations: 1.647 MB / 3.012 GB, free: 201.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/4.826, allocations: 0.7088 MB / 3.013 GB, free: 200.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001696/4.827, allocations: 24.88 kB / 3.013 GB, free: 200.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-05/4.827, allocations: 31.41 kB / 3.013 GB, free: 200.5 MB / 1.167 GB Notification: Performance of SimCode: time 5.91e-07/4.827, allocations: 0 / 3.013 GB, free: 200.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/4.851, allocations: 14.01 MB / 3.027 GB, free: 186.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/4.851, allocations: 224.8 kB / 3.027 GB, free: 186.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/7.066, allocations: 1.719 kB / 3.027 GB, free: 186.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat does not exist to compare? outputFormat=mat