Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.654/1.654, allocations: 287.4 MB / 302.6 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 176.8 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 100.6 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004219, allocations: 10.12 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2453, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002319/0.2476, allocations: 1.382 MB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.567/0.8147, allocations: 135.9 MB / 1.113 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.457e-05/0.8148, allocations: 1.188 kB / 1.113 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.815, allocations: 16.12 kB / 1.113 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.8152, allocations: 41.61 kB / 1.113 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.8156, allocations: 152.5 kB / 1.113 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.8158, allocations: 137 kB / 1.113 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.816, allocations: 38.19 kB / 1.113 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003712/0.8164, allocations: 134.8 kB / 1.113 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.8165, allocations: 53.33 kB / 1.113 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.8165, allocations: 4.219 kB / 1.113 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.8168, allocations: 159.3 kB / 1.114 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.8168, allocations: 18.53 kB / 1.114 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 8.686e-05/0.8169, allocations: 45.23 kB / 1.114 GB, free: 17.78 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.8172, allocations: 142.2 kB / 1.114 GB, free: 17.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8172, allocations: 0 / 1.114 GB, free: 17.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8172, allocations: 1 kB / 1.114 GB, free: 17.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.8172, allocations: 0 / 1.114 GB, free: 17.76 MB / 0.698 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.0007558/0.818, allocations: 449.7 kB / 1.114 GB, free: 17.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.818, allocations: 9.625 kB / 1.114 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.8181, allocations: 40.92 kB / 1.114 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005815/0.8187, allocations: 59.69 kB / 1.114 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.8189, allocations: 201.7 kB / 1.114 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.8189, allocations: 7.125 kB / 1.114 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.8189, allocations: 7.906 kB / 1.114 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.8193, allocations: 191.2 kB / 1.115 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.8194, allocations: 1.094 kB / 1.115 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.8194, allocations: 1.359 kB / 1.115 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.8194, allocations: 7.094 kB / 1.115 GB, free: 17.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.8199, allocations: 171.1 kB / 1.115 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.8211, allocations: 0.8296 MB / 1.116 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/0.8215, allocations: 146.2 kB / 1.116 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.8218, allocations: 91.8 kB / 1.116 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.8218, allocations: 1.156 kB / 1.116 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.8218, allocations: 32.78 kB / 1.116 GB, free: 16.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.8219, allocations: 0 / 1.116 GB, free: 16.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001866/0.8237, allocations: 492.9 kB / 1.116 GB, free: 16.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.8238, allocations: 57.16 kB / 1.116 GB, free: 16.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.8239, allocations: 147.9 kB / 1.117 GB, free: 15.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.8239, allocations: 27.2 kB / 1.117 GB, free: 15.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.824, allocations: 106.5 kB / 1.117 GB, free: 15.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.824, allocations: 28.14 kB / 1.117 GB, free: 15.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.824, allocations: 5.281 kB / 1.117 GB, free: 15.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8242, allocations: 320 kB / 1.117 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.8244, allocations: 81.36 kB / 1.117 GB, free: 15.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.8247, allocations: 117.4 kB / 1.117 GB, free: 15.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.8252, allocations: 197.6 kB / 1.117 GB, free: 15.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8252, allocations: 1.812 kB / 1.117 GB, free: 15.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001006/0.8262, allocations: 300.3 kB / 1.118 GB, free: 15.31 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8262, allocations: 10.44 kB / 1.118 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.8262, allocations: 1.922 kB / 1.118 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000567/0.8268, allocations: 85.12 kB / 1.118 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.8271, allocations: 37.58 kB / 1.118 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.829, allocations: 1.559 MB / 1.119 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.8293, allocations: 31.64 kB / 1.119 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.8293, allocations: 9.062 kB / 1.119 GB, free: 13.97 MB / 0.698 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.0001245/0.8294, allocations: 123.5 kB / 1.119 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.8295, allocations: 8.875 kB / 1.119 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.8306, allocations: 338.3 kB / 1.12 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.8306, allocations: 3.25 kB / 1.12 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.8306, allocations: 0 / 1.12 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.8307, allocations: 4.547 kB / 1.12 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.831, allocations: 233.4 kB / 1.12 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.831, allocations: 0.6562 kB / 1.12 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.8312, allocations: 33.61 kB / 1.12 GB, free: 13.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005085/0.8317, allocations: 89.34 kB / 1.12 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.8317, allocations: 2.844 kB / 1.12 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.8337, allocations: 1.581 MB / 1.122 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8337, allocations: 1.75 kB / 1.122 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.8347, allocations: 402.7 kB / 1.122 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.8348, allocations: 85.11 kB / 1.122 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.8349, allocations: 2.156 kB / 1.122 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.8351, allocations: 30.16 kB / 1.122 GB, free: 11.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.8352, allocations: 18.72 kB / 1.122 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.8352, allocations: 4.922 kB / 1.122 GB, free: 11.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.985e-05/0.8353, allocations: 110.5 kB / 1.122 GB, free: 11.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8353, allocations: 0 / 1.122 GB, free: 11.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003534/0.8356, allocations: 38.16 kB / 1.122 GB, free: 11.91 MB / 0.698 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.001402/0.8371, allocations: 0.9462 MB / 1.123 GB, free: 11.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008965/0.838, allocations: 335.8 kB / 1.124 GB, free: 11.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.838, allocations: 3.938 kB / 1.124 GB, free: 11.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.8385, allocations: 244.3 kB / 1.124 GB, free: 10.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.8388, allocations: 30.11 kB / 1.124 GB, free: 10.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.8416, allocations: 1.021 MB / 1.125 GB, free: 10.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.842, allocations: 0.7056 MB / 1.126 GB, free: 9.801 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.8422, allocations: 27.69 kB / 1.126 GB, free: 9.789 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.893e-05/0.8423, allocations: 34.69 kB / 1.126 GB, free: 9.781 MB / 0.698 GB Notification: Performance of SimCode: time 1.313e-06/0.8423, allocations: 1.75 kB / 1.126 GB, free: 9.781 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.8592, allocations: 4.191 MB / 1.13 GB, free: 9.449 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.8595, allocations: 219.1 kB / 1.13 GB, free: 9.211 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.579, allocations: 7.312 kB / 1.13 GB, free: 9.207 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)