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.469/1.469, allocations: 252 MB / 267 MB, free: 10.98 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.001235/0.001236, allocations: 185 kB / 326.6 MB, free: 2.238 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.94/1.94, allocations: 205.4 MB / 0.5777 GB, free: 20.31 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.0008039/0.000804, allocations: 92.48 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003106, allocations: 9.625 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2232, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001971/0.2253, allocations: 1.597 MB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1395/0.3648, allocations: 141.2 MB / 1.04 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.365, allocations: 0 / 1.04 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.3651, allocations: 15.86 kB / 1.04 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.3654, allocations: 67.55 kB / 1.04 GB, free: 480 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.366, allocations: 215.4 kB / 1.04 GB, free: 264 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.3663, allocations: 227.2 kB / 1.04 GB, free: 36 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3664, allocations: 54.27 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003817/0.3668, allocations: 175.5 kB / 1.041 GB, free: 15.81 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.367, allocations: 75.67 kB / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.367, allocations: 8 kB / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.3673, allocations: 171.7 kB / 1.041 GB, free: 15.56 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.3673, allocations: 35.89 kB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.3674, allocations: 53.58 kB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.3676, allocations: 187.9 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3676, allocations: 4 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3676, allocations: 0 / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3676, allocations: 0 / 1.041 GB, free: 15.28 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.0008011/0.3684, allocations: 495 kB / 1.041 GB, free: 14.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.3685, allocations: 12.03 kB / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.333e-05/0.3685, allocations: 46.55 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008104/0.3694, allocations: 79.73 kB / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.3696, allocations: 224 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/0.3697, allocations: 38.03 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.3698, allocations: 19.95 kB / 1.042 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.3703, allocations: 271.2 kB / 1.042 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3703, allocations: 0 / 1.042 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.3704, allocations: 4 kB / 1.042 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3704, allocations: 8 kB / 1.042 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.3708, allocations: 179.7 kB / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.3725, allocations: 1.184 MB / 1.043 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007505/0.3732, allocations: 210.7 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.3734, allocations: 76.77 kB / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3735, allocations: 7.938 kB / 1.044 GB, free: 12.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.3735, allocations: 34.56 kB / 1.044 GB, free: 12.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.824e-06/0.3735, allocations: 0 / 1.044 GB, free: 12.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.002688/0.3762, allocations: 0.6454 MB / 1.044 GB, free: 11.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.3763, allocations: 51.41 kB / 1.044 GB, free: 11.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.3765, allocations: 202.3 kB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.3765, allocations: 25.7 kB / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.3766, allocations: 147.4 kB / 1.045 GB, free: 11.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.3767, allocations: 43.36 kB / 1.045 GB, free: 11.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.3767, allocations: 4 kB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3768, allocations: 322.8 kB / 1.045 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.3771, allocations: 79.89 kB / 1.045 GB, free: 10.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.3773, allocations: 142.8 kB / 1.045 GB, free: 10.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.3776, allocations: 82.25 kB / 1.045 GB, free: 10.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3776, allocations: 0 / 1.045 GB, free: 10.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001433/0.379, allocations: 390.7 kB / 1.046 GB, free: 9.965 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3791, allocations: 8 kB / 1.046 GB, free: 9.957 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3791, allocations: 0 / 1.046 GB, free: 9.957 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.3802, allocations: 173.7 kB / 1.046 GB, free: 9.781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.3804, allocations: 35.97 kB / 1.046 GB, free: 9.746 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/0.3845, allocations: 3.043 MB / 1.049 GB, free: 6.438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.385, allocations: 31.83 kB / 1.049 GB, free: 6.406 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.385, allocations: 8 kB / 1.049 GB, free: 6.398 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.3852, allocations: 137.7 kB / 1.049 GB, free: 6.254 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.3852, allocations: 15.81 kB / 1.049 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.3867, allocations: 382.9 kB / 1.05 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3867, allocations: 4 kB / 1.05 GB, free: 5.848 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.3867, allocations: 0 / 1.05 GB, free: 5.848 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3867, allocations: 3.984 kB / 1.05 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.387, allocations: 273.4 kB / 1.05 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3871, allocations: 0 / 1.05 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.3872, allocations: 23.98 kB / 1.05 GB, free: 5.504 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009894/0.3882, allocations: 161.5 kB / 1.05 GB, free: 5.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3882, allocations: 7.938 kB / 1.05 GB, free: 5.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/0.392, allocations: 3.076 MB / 1.053 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3921, allocations: 3.953 kB / 1.053 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.3934, allocations: 440.7 kB / 1.053 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.3936, allocations: 112.8 kB / 1.054 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.3937, allocations: 8 kB / 1.054 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.394, allocations: 11.98 kB / 1.054 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3941, allocations: 23.91 kB / 1.054 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.3941, allocations: 12 kB / 1.054 GB, free: 1.336 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002337/0.3944, allocations: 154.9 kB / 1.054 GB, free: 1.184 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3944, allocations: 0 / 1.054 GB, free: 1.184 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004711/0.3948, allocations: 71.94 kB / 1.054 GB, free: 1.113 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00168/0.3965, allocations: 0.9854 MB / 1.055 GB, free: 96 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.3287/0.7253, allocations: 448.9 kB / 1.055 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.7253, allocations: 0 / 1.055 GB, free: 155.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000727/0.7261, allocations: 364.1 kB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.7266, allocations: 51.8 kB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.7297, allocations: 1.317 MB / 1.057 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.7298, allocations: 0.731 MB / 1.058 GB, free: 154.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000219/0.73, allocations: 33.61 kB / 1.058 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.7301, allocations: 53.59 kB / 1.058 GB, free: 154.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/0.7301, allocations: 0 / 1.058 GB, free: 154.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.754, allocations: 6.682 MB / 1.064 GB, free: 154 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.7541, allocations: 243.7 kB / 1.064 GB, free: 153.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.711, allocations: 0 / 1.064 GB, free: 153.8 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)