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 1.917/1.917, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.0009772/0.0009772, allocations: 180.8 kB / 492.3 MB, free: 0.625 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.242/1.242, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008697/0.0008697, allocations: 100.8 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.041e-05/2.043e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1846, allocations: 142.4 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.109/3.294, allocations: 1.715 GB / 2.927 GB, free: 151.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/3.294, allocations: 83.95 kB / 2.927 GB, free: 151.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.09284/3.387, allocations: 56.16 MB / 2.982 GB, free: 94.37 MB / 1.151 GB Notification: Performance of FrontEnd: time 8.81e-07/3.387, allocations: 0 / 2.982 GB, free: 94.37 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.426e-06/3.387, allocations: 4 kB / 2.982 GB, free: 94.37 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005319/3.387, allocations: 458.9 kB / 2.983 GB, free: 93.88 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/3.387, allocations: 12.03 kB / 2.983 GB, free: 93.86 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/3.387, allocations: 38.55 kB / 2.983 GB, free: 93.82 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/3.388, allocations: 55.77 kB / 2.983 GB, free: 93.76 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/3.388, allocations: 206.9 kB / 2.983 GB, free: 93.52 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/3.388, allocations: 8 kB / 2.983 GB, free: 93.51 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/3.388, allocations: 7.938 kB / 2.983 GB, free: 93.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/3.388, allocations: 161.8 kB / 2.983 GB, free: 93.32 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/3.388, allocations: 0 / 2.983 GB, free: 93.32 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/3.388, allocations: 0 / 2.983 GB, free: 93.32 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/3.388, allocations: 4 kB / 2.983 GB, free: 93.32 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/3.389, allocations: 87.91 kB / 2.983 GB, free: 93.23 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/3.389, allocations: 0.8334 MB / 2.984 GB, free: 92.32 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/3.389, allocations: 102.5 kB / 2.984 GB, free: 92.21 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.763e-05/3.39, allocations: 52.84 kB / 2.984 GB, free: 92.16 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/3.39, allocations: 3.984 kB / 2.984 GB, free: 92.16 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/3.39, allocations: 34.56 kB / 2.984 GB, free: 92.11 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/3.39, allocations: 4 kB / 2.984 GB, free: 92.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.0006846/3.39, allocations: 194.2 kB / 2.984 GB, free: 91.91 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/3.39, allocations: 55.41 kB / 2.984 GB, free: 91.84 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.461e-05/3.39, allocations: 135.8 kB / 2.985 GB, free: 91.71 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/3.39, allocations: 25.7 kB / 2.985 GB, free: 91.68 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/3.39, allocations: 103.9 kB / 2.985 GB, free: 91.57 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/3.391, allocations: 35.69 kB / 2.985 GB, free: 91.54 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/3.391, allocations: 4 kB / 2.985 GB, free: 91.53 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.193e-05/3.391, allocations: 326.8 kB / 2.985 GB, free: 91.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.297e-05/3.391, allocations: 39.98 kB / 2.985 GB, free: 91.16 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-05/3.391, allocations: 89.94 kB / 2.985 GB, free: 91.05 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.243e-05/3.391, allocations: 52.03 kB / 2.985 GB, free: 91 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/3.391, allocations: 0 / 2.985 GB, free: 91 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006189/3.391, allocations: 218.2 kB / 2.985 GB, free: 90.78 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/3.391, allocations: 4 kB / 2.985 GB, free: 90.78 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/3.391, allocations: 4 kB / 2.985 GB, free: 90.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000542/3.392, allocations: 88.88 kB / 2.986 GB, free: 90.68 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/3.392, allocations: 43.91 kB / 2.986 GB, free: 90.64 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/3.394, allocations: 1.552 MB / 2.987 GB, free: 88.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/3.394, allocations: 23.98 kB / 2.987 GB, free: 88.93 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/3.394, allocations: 7.984 kB / 2.987 GB, free: 88.92 MB / 1.151 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 () * 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 6.21e-05/3.394, allocations: 114.1 kB / 2.987 GB, free: 88.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/3.394, allocations: 11.84 kB / 2.987 GB, free: 88.79 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006463/3.395, allocations: 266.9 kB / 2.988 GB, free: 88.52 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/3.395, allocations: 4 kB / 2.988 GB, free: 88.52 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/3.395, allocations: 0 / 2.988 GB, free: 88.52 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/3.395, allocations: 0 / 2.988 GB, free: 88.52 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/3.395, allocations: 229.6 kB / 2.988 GB, free: 88.24 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/3.395, allocations: 3.938 kB / 2.988 GB, free: 88.24 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/3.395, allocations: 47.91 kB / 2.988 GB, free: 88.19 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004252/3.396, allocations: 84.77 kB / 2.988 GB, free: 88.11 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/3.396, allocations: 4 kB / 2.988 GB, free: 88.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/3.397, allocations: 1.559 MB / 2.989 GB, free: 86.39 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/3.397, allocations: 0 / 2.989 GB, free: 86.39 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/3.397, allocations: 329 kB / 2.99 GB, free: 86.05 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/3.397, allocations: 81.02 kB / 2.99 GB, free: 85.95 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/3.397, allocations: 12 kB / 2.99 GB, free: 85.94 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/3.398, allocations: 19.97 kB / 2.99 GB, free: 85.92 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/3.398, allocations: 16.05 kB / 2.99 GB, free: 85.91 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/3.398, allocations: 4 kB / 2.99 GB, free: 85.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 4.005e-05/3.398, allocations: 110.2 kB / 2.99 GB, free: 85.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/3.398, allocations: 0 / 2.99 GB, free: 85.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003685/3.398, allocations: 99.78 kB / 2.99 GB, free: 85.7 MB / 1.151 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 () * 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.001165/3.399, allocations: 1.368 MB / 2.991 GB, free: 84.32 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004443/3.4, allocations: 242.8 kB / 2.992 GB, free: 84.07 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/3.4, allocations: 4 kB / 2.992 GB, free: 84.06 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/3.4, allocations: 198.6 kB / 2.992 GB, free: 83.86 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/3.4, allocations: 27.88 kB / 2.992 GB, free: 83.83 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006215/3.401, allocations: 275.8 kB / 2.992 GB, free: 83.52 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.845e-05/3.401, allocations: 0.7127 MB / 2.993 GB, free: 82.79 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001475/3.401, allocations: 20.88 kB / 2.993 GB, free: 82.76 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/3.401, allocations: 35.42 kB / 2.993 GB, free: 82.73 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/3.401, allocations: 0 / 2.993 GB, free: 82.73 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/3.423, allocations: 15.85 MB / 3.008 GB, free: 67.05 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001293/3.423, allocations: 197.1 kB / 3.009 GB, free: 66.82 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/5.407, allocations: 0 / 3.009 GB, free: 66.82 MB / 1.151 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