Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8115/0.8115, allocations: 143.3 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 177 kB / 191.5 MB, free: 5.773 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 223.1 MB / 447.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008866/0.0008866, allocations: 100.2 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001876/0.001876, allocations: 277.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004371, allocations: 20.59 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1633, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.982/4.145, allocations: 1.675 GB / 2.449 GB, free: 79.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/4.146, allocations: 87.14 kB / 2.449 GB, free: 79.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1037/4.249, allocations: 56.25 MB / 2.504 GB, free: 32.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.936e-06/4.249, allocations: 0 / 2.504 GB, free: 32.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.029e-05/4.25, allocations: 0 / 2.504 GB, free: 32.75 MB / 0.7136 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.0007321/4.25, allocations: 482.2 kB / 2.505 GB, free: 32.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/4.25, allocations: 8.031 kB / 2.505 GB, free: 32.23 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/4.25, allocations: 46.48 kB / 2.505 GB, free: 32.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005557/4.251, allocations: 55.72 kB / 2.505 GB, free: 32.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/4.251, allocations: 193.5 kB / 2.505 GB, free: 31.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/4.251, allocations: 7.5 kB / 2.505 GB, free: 31.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/4.251, allocations: 15.56 kB / 2.505 GB, free: 31.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/4.252, allocations: 197.8 kB / 2.505 GB, free: 31.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/4.252, allocations: 0 / 2.505 GB, free: 31.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/4.252, allocations: 3.188 kB / 2.505 GB, free: 31.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/4.252, allocations: 4 kB / 2.505 GB, free: 31.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/4.252, allocations: 169.3 kB / 2.505 GB, free: 31.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009967/4.253, allocations: 0.8241 MB / 2.506 GB, free: 30.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/4.254, allocations: 144 kB / 2.506 GB, free: 30.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/4.254, allocations: 4 kB / 2.506 GB, free: 30.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/4.254, allocations: 30.56 kB / 2.506 GB, free: 30.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/4.254, allocations: 0 / 2.506 GB, free: 30.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.001861/4.255, allocations: 0.4929 MB / 2.507 GB, free: 30.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/4.255, allocations: 55.5 kB / 2.507 GB, free: 30.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.363e-05/4.256, allocations: 131.8 kB / 2.507 GB, free: 29.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/4.256, allocations: 29.08 kB / 2.507 GB, free: 29.87 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/4.256, allocations: 111.6 kB / 2.507 GB, free: 29.76 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/4.256, allocations: 27.45 kB / 2.507 GB, free: 29.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/4.256, allocations: 3.812 kB / 2.507 GB, free: 29.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.121e-05/4.256, allocations: 318.6 kB / 2.507 GB, free: 29.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/4.256, allocations: 80.48 kB / 2.507 GB, free: 29.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/4.256, allocations: 121.4 kB / 2.507 GB, free: 29.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/4.257, allocations: 95.72 kB / 2.508 GB, free: 29.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/4.257, allocations: 0 / 2.508 GB, free: 29.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00099/4.258, allocations: 303.3 kB / 2.508 GB, free: 28.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/4.258, allocations: 5.562 kB / 2.508 GB, free: 28.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/4.258, allocations: 4 kB / 2.508 GB, free: 28.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/4.258, allocations: 88.31 kB / 2.508 GB, free: 28.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/4.258, allocations: 42.28 kB / 2.508 GB, free: 28.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/4.26, allocations: 1.575 MB / 2.51 GB, free: 27.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/4.261, allocations: 38.48 kB / 2.51 GB, free: 27.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/4.261, allocations: 7.984 kB / 2.51 GB, free: 27.12 MB / 0.7136 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 0.0001074/4.261, allocations: 121.7 kB / 2.51 GB, free: 27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/4.261, allocations: 11.91 kB / 2.51 GB, free: 26.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/4.262, allocations: 334.1 kB / 2.51 GB, free: 26.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/4.262, allocations: 7.953 kB / 2.51 GB, free: 26.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/4.262, allocations: 0 / 2.51 GB, free: 26.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/4.262, allocations: 0 / 2.51 GB, free: 26.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/4.262, allocations: 229 kB / 2.51 GB, free: 26.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/4.262, allocations: 8 kB / 2.51 GB, free: 26.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/4.262, allocations: 31.97 kB / 2.51 GB, free: 26.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005043/4.263, allocations: 94 kB / 2.51 GB, free: 26.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/4.263, allocations: 4 kB / 2.51 GB, free: 26.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/4.264, allocations: 1.598 MB / 2.512 GB, free: 24.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/4.264, allocations: 0 / 2.512 GB, free: 24.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/4.265, allocations: 407.2 kB / 2.512 GB, free: 24.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/4.265, allocations: 85.02 kB / 2.512 GB, free: 24.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/4.266, allocations: 0 / 2.512 GB, free: 24.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/4.266, allocations: 20.17 kB / 2.512 GB, free: 24.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/4.266, allocations: 15.97 kB / 2.512 GB, free: 24.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/4.266, allocations: 10.62 kB / 2.512 GB, free: 24.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.461e-05/4.266, allocations: 106.5 kB / 2.513 GB, free: 24.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/4.266, allocations: 0 / 2.513 GB, free: 24.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005271/4.266, allocations: 86.8 kB / 2.513 GB, free: 24.05 MB / 0.7136 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.001833/4.268, allocations: 1.427 MB / 2.514 GB, free: 22.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00092/4.269, allocations: 332.9 kB / 2.514 GB, free: 22.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/4.269, allocations: 7.938 kB / 2.514 GB, free: 22.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005186/4.27, allocations: 241 kB / 2.515 GB, free: 22.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/4.27, allocations: 29.38 kB / 2.515 GB, free: 22.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/4.273, allocations: 1.638 MB / 2.516 GB, free: 20.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/4.273, allocations: 0.7088 MB / 2.517 GB, free: 19.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001814/4.273, allocations: 24.83 kB / 2.517 GB, free: 19.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.955e-05/4.273, allocations: 41.72 kB / 2.517 GB, free: 19.74 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/4.273, allocations: 0 / 2.517 GB, free: 19.74 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/4.301, allocations: 14.01 MB / 2.531 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/4.302, allocations: 233.6 kB / 2.531 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/6.532, allocations: 0 / 2.531 GB, free: 5.719 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)