Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.285/1.285, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 176.3 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007889/0.0007888, allocations: 84.91 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 12.52 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2045, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001878/0.2064, allocations: 1.668 MB / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1539/0.3603, allocations: 153.1 MB / 1.047 GB, free: 8.703 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.3606, allocations: 8 kB / 1.047 GB, free: 8.695 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.3608, allocations: 19.8 kB / 1.047 GB, free: 8.676 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.3611, allocations: 55.61 kB / 1.047 GB, free: 8.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.362, allocations: 231.3 kB / 1.048 GB, free: 8.395 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.3623, allocations: 251.2 kB / 1.048 GB, free: 8.148 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.3625, allocations: 70.2 kB / 1.048 GB, free: 8.078 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.3648, allocations: 195.2 kB / 1.048 GB, free: 7.906 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.365, allocations: 71.67 kB / 1.048 GB, free: 7.836 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.365, allocations: 8 kB / 1.048 GB, free: 7.828 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.3653, allocations: 175.7 kB / 1.048 GB, free: 7.656 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.3654, allocations: 39.83 kB / 1.048 GB, free: 7.617 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.854e-05/0.3655, allocations: 79.58 kB / 1.049 GB, free: 7.539 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.3659, allocations: 259.1 kB / 1.049 GB, free: 7.285 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3659, allocations: 4 kB / 1.049 GB, free: 7.281 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3659, allocations: 0 / 1.049 GB, free: 7.281 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3659, allocations: 0 / 1.049 GB, free: 7.281 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008596/0.3668, allocations: 487.1 kB / 1.049 GB, free: 6.758 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3668, allocations: 8.031 kB / 1.049 GB, free: 6.75 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.977e-05/0.3669, allocations: 54.55 kB / 1.049 GB, free: 6.688 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008242/0.3677, allocations: 83.72 kB / 1.049 GB, free: 6.605 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.368, allocations: 222.6 kB / 1.05 GB, free: 6.348 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-05/0.3681, allocations: 45.97 kB / 1.05 GB, free: 6.297 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.3681, allocations: 19.94 kB / 1.05 GB, free: 6.277 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.3686, allocations: 267.3 kB / 1.05 GB, free: 5.988 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3686, allocations: 0 / 1.05 GB, free: 5.988 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.3687, allocations: 4 kB / 1.05 GB, free: 5.984 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3687, allocations: 11.94 kB / 1.05 GB, free: 5.973 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.3691, allocations: 175.8 kB / 1.05 GB, free: 5.801 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.3707, allocations: 1.181 MB / 1.051 GB, free: 4.543 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007241/0.3715, allocations: 210.6 kB / 1.051 GB, free: 4.328 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.3716, allocations: 84.75 kB / 1.052 GB, free: 4.242 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.3717, allocations: 3.984 kB / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.3717, allocations: 34.56 kB / 1.052 GB, free: 4.195 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.3717, allocations: 0 / 1.052 GB, free: 4.195 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.002574/0.3743, allocations: 0.6454 MB / 1.052 GB, free: 3.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.3743, allocations: 51.41 kB / 1.052 GB, free: 3.438 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.3745, allocations: 198.4 kB / 1.052 GB, free: 3.234 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3746, allocations: 29.7 kB / 1.052 GB, free: 3.199 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.3747, allocations: 147.3 kB / 1.053 GB, free: 3.051 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.3747, allocations: 39.39 kB / 1.053 GB, free: 3.012 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.3747, allocations: 21.72 kB / 1.053 GB, free: 2.984 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3749, allocations: 330.8 kB / 1.053 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.3751, allocations: 75.95 kB / 1.053 GB, free: 2.578 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.3753, allocations: 139.2 kB / 1.053 GB, free: 2.418 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.3757, allocations: 212.7 kB / 1.053 GB, free: 2.188 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3757, allocations: 0 / 1.053 GB, free: 2.188 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001375/0.3771, allocations: 386.7 kB / 1.054 GB, free: 1.797 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3771, allocations: 12.22 kB / 1.054 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3771, allocations: 0 / 1.054 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.3782, allocations: 165.5 kB / 1.054 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.3784, allocations: 47.91 kB / 1.054 GB, free: 1.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4105/0.7889, allocations: 3.025 MB / 1.057 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.7893, allocations: 42.92 kB / 1.057 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.7894, allocations: 9.047 kB / 1.057 GB, free: 159.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.7895, allocations: 132.7 kB / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.7896, allocations: 13.19 kB / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.7908, allocations: 387.3 kB / 1.057 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.7908, allocations: 2.938 kB / 1.057 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.7908, allocations: 3.75 kB / 1.057 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.7908, allocations: 0 / 1.057 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.7911, allocations: 272 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7911, allocations: 3.234 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.7912, allocations: 25.78 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008948/0.7921, allocations: 163.3 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.7922, allocations: 4.406 kB / 1.058 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/0.795, allocations: 3.08 MB / 1.061 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.795, allocations: 0.875 kB / 1.061 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.7961, allocations: 451.2 kB / 1.061 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.7962, allocations: 109 kB / 1.061 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.7963, allocations: 7.719 kB / 1.061 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.7965, allocations: 19.67 kB / 1.061 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.7966, allocations: 19.23 kB / 1.061 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.7967, allocations: 7.656 kB / 1.062 GB, free: 156.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000157/0.7968, allocations: 152.5 kB / 1.062 GB, free: 156.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7968, allocations: 1.75 kB / 1.062 GB, free: 156.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003706/0.7972, allocations: 69.03 kB / 1.062 GB, free: 156.3 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001476/0.7987, allocations: 0.9839 MB / 1.063 GB, free: 155.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009506/0.7996, allocations: 458.9 kB / 1.063 GB, free: 155.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7997, allocations: 0 / 1.063 GB, free: 155.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.8003, allocations: 365.7 kB / 1.063 GB, free: 155.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.8007, allocations: 56.28 kB / 1.064 GB, free: 155.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.8052, allocations: 2.581 MB / 1.066 GB, free: 153.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.8054, allocations: 0.7325 MB / 1.067 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002185/0.8056, allocations: 34.45 kB / 1.067 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.6e-05/0.8057, allocations: 53.17 kB / 1.067 GB, free: 152.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.8057, allocations: 0 / 1.067 GB, free: 152.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6046/1.41, allocations: 6.669 MB / 1.073 GB, free: 151.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.411, allocations: 259.5 kB / 1.074 GB, free: 151.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.837, allocations: 0 / 1.074 GB, free: 151.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)