Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.508/1.508, allocations: 252 MB / 267 MB, free: 10.95 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.0009448/0.0009448, allocations: 181.8 kB / 326.6 MB, free: 2.211 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.937/1.937, allocations: 205.4 MB / 0.5777 GB, free: 20.21 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.0009279/0.0009277, allocations: 89.92 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003688, allocations: 8.656 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2867, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001326/0.2881, allocations: 0.9892 MB / 0.9013 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2891, allocations: 0.7863 MB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.2892, allocations: 4 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.2892, allocations: 3.984 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.2893, allocations: 3.938 kB / 0.9021 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.2897, allocations: 115.5 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.078e-05/0.2898, allocations: 19.92 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.2899, allocations: 4 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.204e-05/0.2899, allocations: 11.92 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.29, allocations: 8 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.29, allocations: 4 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.2903, allocations: 171.7 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.2903, allocations: 4 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.2904, allocations: 33.7 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.2905, allocations: 95.98 kB / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2905, allocations: 0 / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2906, allocations: 0 / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.2906, allocations: 0 / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004088/0.291, allocations: 347.4 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.291, allocations: 8.031 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.2911, allocations: 34.56 kB / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.2911, allocations: 0 / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.955e-05/0.2912, allocations: 182.9 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.626e-05/0.2913, allocations: 29.7 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.2913, allocations: 4 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.2915, allocations: 41.69 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2915, allocations: 0 / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2915, allocations: 0 / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2915, allocations: 0 / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.812e-05/0.2916, allocations: 23.92 kB / 0.9031 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.2918, allocations: 161.6 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.2921, allocations: 50.59 kB / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.2922, allocations: 12.94 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/0.2925, allocations: 182.2 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.2925, allocations: 42.56 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.2925, allocations: 0 / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002667/0.2928, allocations: 65.61 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.2929, allocations: 55.41 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.2929, allocations: 97.78 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.2929, allocations: 29.7 kB / 0.9038 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.293, allocations: 88.08 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.293, allocations: 7.812 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.293, allocations: 4 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.2931, allocations: 318.8 kB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.2932, allocations: 11.98 kB / 0.9042 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/0.2932, allocations: 4 kB / 0.9042 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.853e-05/0.2933, allocations: 15.98 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2933, allocations: 0 / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001176/0.2934, allocations: 53.62 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2934, allocations: 12 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2934, allocations: 0 / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2935, allocations: 0 / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.2935, allocations: 11.98 kB / 0.9043 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2936, allocations: 4 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.2936, allocations: 0 / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.2936, allocations: 0 / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.39e-05/0.2937, allocations: 113.8 kB / 0.9044 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.2937, allocations: 0 / 0.9044 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.2939, allocations: 81.02 kB / 0.9045 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2939, allocations: 0 / 0.9045 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.2939, allocations: 0 / 0.9045 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.2939, allocations: 3.984 kB / 0.9045 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.343e-05/0.294, allocations: 161.6 kB / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.294, allocations: 4 kB / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.2941, allocations: 4 kB / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2941, allocations: 0 / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2941, allocations: 0 / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2941, allocations: 4 kB / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2941, allocations: 4 kB / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.2943, allocations: 81.67 kB / 0.9048 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.2944, allocations: 81.06 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.2944, allocations: 7.922 kB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.328e-05/0.2944, allocations: 4 kB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.2945, allocations: 8.031 kB / 0.9048 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.2945, allocations: 7.938 kB / 0.9049 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.038e-05/0.2945, allocations: 83.27 kB / 0.9049 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2945, allocations: 0 / 0.9049 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002177/0.2948, allocations: 28 kB / 0.905 GB, free: 58.66 MB / 0.6042 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 (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004864/0.2953, allocations: 0.6669 MB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.2954, allocations: 27.92 kB / 0.9056 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2954, allocations: 7.938 kB / 0.9056 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.691e-05/0.2955, allocations: 12 kB / 0.9057 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.2957, allocations: 11.36 kB / 0.9057 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.2962, allocations: 180.2 kB / 0.9058 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.2963, allocations: 0.677 MB / 0.9065 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.716e-05/0.2963, allocations: 11.8 kB / 0.9065 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.2964, allocations: 15.42 kB / 0.9065 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2964, allocations: 3.938 kB / 0.9065 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.3096, allocations: 1.713 MB / 0.9082 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.3098, allocations: 214 kB / 0.9084 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/1.91, allocations: 1.406 kB / 0.9084 GB, free: 55.18 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)