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.532/1.532, allocations: 251.9 MB / 266.9 MB, free: 11 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.001119/0.001119, allocations: 182.3 kB / 326.5 MB, free: 2.219 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.961/1.961, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0008622/0.0008623, allocations: 101.3 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 8.094 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2414, allocations: 106.4 MB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002206/0.2437, allocations: 1.562 MB / 0.9017 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1569/0.4006, allocations: 130.9 MB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.4008, allocations: 4 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.401, allocations: 15.86 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.4013, allocations: 67.81 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.4021, allocations: 226 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.4023, allocations: 159.7 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.4025, allocations: 50.28 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003305/0.4028, allocations: 151.6 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.4029, allocations: 79.67 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.403, allocations: 4 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.4033, allocations: 183.7 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.4033, allocations: 31.89 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.4034, allocations: 49.64 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.4037, allocations: 187.9 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4037, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4037, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.4037, allocations: 4 kB / 1.031 GB, free: 10.16 MB / 0.6823 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.0009014/0.4046, allocations: 491 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4047, allocations: 16.03 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.464e-05/0.4047, allocations: 54.48 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007838/0.4055, allocations: 75.73 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.4058, allocations: 223.7 kB / 1.032 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.67e-05/0.4059, allocations: 46.03 kB / 1.032 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.406, allocations: 23.89 kB / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005618/0.4065, allocations: 267.2 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4065, allocations: 0 / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.4066, allocations: 8 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4066, allocations: 4 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.4071, allocations: 179.8 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.4088, allocations: 1.18 MB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/0.4095, allocations: 210.7 kB / 1.033 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.4096, allocations: 0 / 1.033 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.4096, allocations: 38.55 kB / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.4096, allocations: 0 / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.002601/0.4122, allocations: 0.6456 MB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.4123, allocations: 55.34 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.4125, allocations: 198.3 kB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.4126, allocations: 29.7 kB / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4127, allocations: 139.4 kB / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.4127, allocations: 43.36 kB / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.4128, allocations: 4 kB / 1.034 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4129, allocations: 326.8 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.4131, allocations: 75.95 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.4134, allocations: 134.3 kB / 1.035 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.4137, allocations: 95.94 kB / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4137, allocations: 0 / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001422/0.4151, allocations: 390.7 kB / 1.035 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4151, allocations: 8 kB / 1.035 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4151, allocations: 0 / 1.035 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.4162, allocations: 165.8 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.4164, allocations: 43.91 kB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00371/0.4201, allocations: 3.059 MB / 1.039 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.4205, allocations: 31.81 kB / 1.039 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.4205, allocations: 16 kB / 1.039 GB, free: 1.324 MB / 0.6823 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.0001408/0.4207, allocations: 127.8 kB / 1.039 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.4207, allocations: 15.81 kB / 1.039 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.422, allocations: 394.8 kB / 1.039 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.422, allocations: 0 / 1.039 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.4221, allocations: 0 / 1.039 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.4221, allocations: 4 kB / 1.039 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.4224, allocations: 269.4 kB / 1.039 GB, free: 472 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4224, allocations: 0 / 1.039 GB, free: 472 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.4225, allocations: 23.98 kB / 1.04 GB, free: 448 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009085/0.4235, allocations: 165.5 kB / 1.04 GB, free: 276 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.4235, allocations: 7.938 kB / 1.04 GB, free: 268 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/0.4273, allocations: 3.1 MB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4273, allocations: 0 / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.4286, allocations: 444.7 kB / 1.043 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.4288, allocations: 112.8 kB / 1.043 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.4288, allocations: 3.984 kB / 1.043 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.4291, allocations: 19.98 kB / 1.043 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/0.4292, allocations: 19.92 kB / 1.043 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.4292, allocations: 7.984 kB / 1.043 GB, free: 12.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001927/0.4294, allocations: 151 kB / 1.043 GB, free: 12.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4295, allocations: 0 / 1.043 GB, free: 12.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000475/0.4299, allocations: 71.94 kB / 1.043 GB, free: 12.03 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.001769/0.4317, allocations: 0.9853 MB / 1.044 GB, free: 11.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.4328, allocations: 457.5 kB / 1.045 GB, free: 10.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4328, allocations: 0 / 1.045 GB, free: 10.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007031/0.4336, allocations: 365.2 kB / 1.045 GB, free: 10.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.434, allocations: 56.28 kB / 1.045 GB, free: 10.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.4375, allocations: 2.373 MB / 1.048 GB, free: 7.648 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.4379, allocations: 0.74 MB / 1.048 GB, free: 6.883 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.4381, allocations: 29.95 kB / 1.048 GB, free: 6.855 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.4382, allocations: 59.41 kB / 1.048 GB, free: 6.797 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/0.4382, allocations: 0 / 1.048 GB, free: 6.797 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.4596, allocations: 6.654 MB / 1.055 GB, free: 400 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.4599, allocations: 229.9 kB / 1.055 GB, free: 156 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.378, allocations: 0 / 1.055 GB, free: 156 kB / 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)