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.006/2.006, allocations: 390.5 MB / 398 MB, free: 10.98 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.001566/0.001566, allocations: 168.9 kB / 491.2 MB, free: 1.602 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.301/1.301, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0008531/0.0008531, allocations: 83.59 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.646e-05/1.648e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2078, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.298/3.506, allocations: 1.715 GB / 2.927 GB, free: 123.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/3.507, allocations: 75.95 kB / 2.927 GB, free: 123.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.09375/3.6, allocations: 55.32 MB / 2.981 GB, free: 73.48 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.072e-06/3.6, allocations: 0 / 2.981 GB, free: 73.48 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.296e-06/3.6, allocations: 4 kB / 2.981 GB, free: 73.47 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.0005325/3.601, allocations: 462.9 kB / 2.982 GB, free: 72.98 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/3.601, allocations: 12.03 kB / 2.982 GB, free: 72.96 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00049/3.601, allocations: 59.75 kB / 2.982 GB, free: 72.91 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/3.602, allocations: 191 kB / 2.982 GB, free: 72.68 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/3.602, allocations: 7.938 kB / 2.982 GB, free: 72.67 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/3.602, allocations: 7.984 kB / 2.982 GB, free: 72.66 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001554/3.602, allocations: 80.14 kB / 2.982 GB, free: 72.59 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/3.602, allocations: 143.8 kB / 2.982 GB, free: 72.43 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/3.602, allocations: 7.875 kB / 2.982 GB, free: 72.42 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/3.602, allocations: 0 / 2.982 GB, free: 72.42 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/3.602, allocations: 4 kB / 2.982 GB, free: 72.41 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007596/3.603, allocations: 0.8013 MB / 2.983 GB, free: 71.55 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/3.603, allocations: 94.56 kB / 2.983 GB, free: 71.45 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/3.603, allocations: 52.8 kB / 2.983 GB, free: 71.39 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/3.603, allocations: 0 / 2.983 GB, free: 71.39 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.044e-05/3.603, allocations: 34.56 kB / 2.983 GB, free: 71.35 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/3.603, allocations: 4 kB / 2.983 GB, free: 71.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.0006686/3.604, allocations: 194.4 kB / 2.984 GB, free: 71.14 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.219e-05/3.604, allocations: 55.41 kB / 2.984 GB, free: 71.08 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.656e-05/3.604, allocations: 118.6 kB / 2.984 GB, free: 70.95 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/3.604, allocations: 25.7 kB / 2.984 GB, free: 70.92 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/3.604, allocations: 111.9 kB / 2.984 GB, free: 70.81 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/3.604, allocations: 27.56 kB / 2.984 GB, free: 70.78 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/3.604, allocations: 0 / 2.984 GB, free: 70.78 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 3.452e-05/3.604, allocations: 322.8 kB / 2.984 GB, free: 70.46 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/3.604, allocations: 35.98 kB / 2.984 GB, free: 70.42 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/3.604, allocations: 86 kB / 2.984 GB, free: 70.32 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.16e-05/3.604, allocations: 47.91 kB / 2.984 GB, free: 70.27 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/3.604, allocations: 3.953 kB / 2.984 GB, free: 70.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006037/3.605, allocations: 206.3 kB / 2.985 GB, free: 70.05 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/3.605, allocations: 4 kB / 2.985 GB, free: 70.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/3.605, allocations: 4 kB / 2.985 GB, free: 70.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00051/3.605, allocations: 84.88 kB / 2.985 GB, free: 69.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/3.606, allocations: 51.84 kB / 2.985 GB, free: 69.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/3.607, allocations: 1.473 MB / 2.986 GB, free: 68.31 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/3.607, allocations: 31.97 kB / 2.986 GB, free: 68.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/3.607, allocations: 7.938 kB / 2.986 GB, free: 68.27 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 5.778e-05/3.607, allocations: 108.9 kB / 2.986 GB, free: 68.16 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005892/3.608, allocations: 202.2 kB / 2.986 GB, free: 67.95 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/3.608, allocations: 7.906 kB / 2.986 GB, free: 67.95 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006203/3.608, allocations: 242.8 kB / 2.987 GB, free: 67.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/3.608, allocations: 4 kB / 2.987 GB, free: 67.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/3.608, allocations: 0 / 2.987 GB, free: 67.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/3.608, allocations: 0 / 2.987 GB, free: 67.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/3.609, allocations: 214 kB / 2.987 GB, free: 67.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/3.609, allocations: 4 kB / 2.987 GB, free: 67.45 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/3.609, allocations: 35.95 kB / 2.987 GB, free: 67.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/3.609, allocations: 88.77 kB / 2.987 GB, free: 67.32 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/3.609, allocations: 0 / 2.987 GB, free: 67.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/3.61, allocations: 1.5 MB / 2.988 GB, free: 65.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/3.611, allocations: 4 kB / 2.988 GB, free: 65.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/3.611, allocations: 309.8 kB / 2.989 GB, free: 65.38 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/3.611, allocations: 85.16 kB / 2.989 GB, free: 65.27 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/3.611, allocations: 0 / 2.989 GB, free: 65.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/3.611, allocations: 23.95 kB / 2.989 GB, free: 65.25 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/3.611, allocations: 15.98 kB / 2.989 GB, free: 65.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/3.611, allocations: 3.984 kB / 2.989 GB, free: 65.23 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.954e-05/3.611, allocations: 100.8 kB / 2.989 GB, free: 65.13 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/3.611, allocations: 0 / 2.989 GB, free: 65.13 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003288/3.612, allocations: 79.83 kB / 2.989 GB, free: 65.05 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.001174/3.613, allocations: 1.446 MB / 2.99 GB, free: 63.59 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004148/3.613, allocations: 229.7 kB / 2.991 GB, free: 63.35 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/3.613, allocations: 4.25 kB / 2.991 GB, free: 63.35 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/3.614, allocations: 197.5 kB / 2.991 GB, free: 63.14 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/3.614, allocations: 24.91 kB / 2.991 GB, free: 63.12 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006318/3.615, allocations: 254.1 kB / 2.991 GB, free: 62.84 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/3.615, allocations: 0.7163 MB / 2.992 GB, free: 62.09 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001494/3.615, allocations: 20.42 kB / 2.992 GB, free: 62.07 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/3.615, allocations: 43.34 kB / 2.992 GB, free: 62.03 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/3.615, allocations: 0 / 2.992 GB, free: 62.03 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/3.639, allocations: 8.439 MB / 3 GB, free: 53.62 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001345/3.639, allocations: 158.5 kB / 3 GB, free: 53.43 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/5.314, allocations: 0 / 3 GB, free: 53.43 MB / 1.151 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