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.599/1.599, 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.001439/0.001439, allocations: 179.2 kB / 326.5 MB, free: 2.207 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.862/1.862, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0009411/0.000941, allocations: 93.88 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003872, allocations: 16 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.327, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001867/0.3289, allocations: 0.989 MB / 0.9011 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.3305, allocations: 0.7482 MB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.3306, allocations: 0 / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.3307, allocations: 0 / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.3307, allocations: 0 / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007102/0.3315, allocations: 115.6 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.658e-05/0.3315, allocations: 11.97 kB / 0.902 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.229e-05/0.3316, allocations: 4 kB / 0.902 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/0.3317, allocations: 19.92 kB / 0.902 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.3318, allocations: 7.984 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.3318, allocations: 4 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004108/0.3322, allocations: 179.7 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.3323, allocations: 3.984 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.3323, allocations: 29.7 kB / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.3326, allocations: 84.12 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3326, allocations: 0 / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.186e-06/0.3326, allocations: 0 / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3326, allocations: 0 / 0.9023 GB, free: 61.59 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.0004663/0.3331, allocations: 359.2 kB / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.3331, allocations: 12.03 kB / 0.9026 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.88e-05/0.3332, allocations: 34.56 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.3333, allocations: 4 kB / 0.9027 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.3334, allocations: 170.9 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.396e-05/0.3335, allocations: 33.69 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.3335, allocations: 3.984 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.3337, allocations: 41.69 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3337, allocations: 4 kB / 0.9029 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3338, allocations: 0 / 0.9029 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3338, allocations: 0 / 0.9029 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3339, allocations: 23.92 kB / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.3341, allocations: 157.6 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.3344, allocations: 46.61 kB / 0.9031 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/0.3347, allocations: 182.3 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.3348, allocations: 34.56 kB / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.3348, allocations: 0 / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003239/0.3351, allocations: 65.61 kB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.3352, allocations: 55.41 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.3353, allocations: 97.84 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3353, allocations: 33.64 kB / 0.9036 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.3353, allocations: 80.14 kB / 0.9037 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.3354, allocations: 15.81 kB / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/0.3354, allocations: 0 / 0.9037 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.3355, allocations: 314.8 kB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.3355, allocations: 11.98 kB / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.3356, allocations: 8 kB / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.882e-05/0.3357, allocations: 11.98 kB / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3357, allocations: 4 kB / 0.904 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001849/0.3359, allocations: 53.69 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3359, allocations: 7.938 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.336, allocations: 0 / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.336, allocations: 0 / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.3361, allocations: 11.98 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3361, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.3361, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3362, allocations: 11.94 kB / 0.9041 GB, free: 59.47 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.439e-05/0.3363, allocations: 113.8 kB / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.3363, allocations: 4 kB / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.3365, allocations: 65.59 kB / 0.9043 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3365, allocations: 4 kB / 0.9043 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.3366, allocations: 8.031 kB / 0.9043 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3366, allocations: 7.922 kB / 0.9043 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.3367, allocations: 161.6 kB / 0.9044 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3367, allocations: 0 / 0.9044 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-05/0.3368, allocations: 12 kB / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3368, allocations: 0 / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3368, allocations: 4 kB / 0.9045 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3368, allocations: 0 / 0.9045 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3368, allocations: 0 / 0.9045 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.3371, allocations: 81.11 kB / 0.9045 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.3371, allocations: 85.05 kB / 0.9046 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.3372, allocations: 4 kB / 0.9046 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.3372, allocations: 4 kB / 0.9046 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.3373, allocations: 4 kB / 0.9046 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.3373, allocations: 0 / 0.9046 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.3374, allocations: 87.27 kB / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3374, allocations: 3.938 kB / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003941/0.3378, allocations: 28 kB / 0.9047 GB, free: 58.7 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.0005502/0.3383, allocations: 0.6669 MB / 0.9054 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.3386, allocations: 27.92 kB / 0.9054 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3386, allocations: 0 / 0.9054 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.515e-05/0.3387, allocations: 19.92 kB / 0.9054 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.3389, allocations: 4 kB / 0.9054 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.3395, allocations: 188.1 kB / 0.9056 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.3396, allocations: 0.677 MB / 0.9063 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.605e-05/0.3396, allocations: 19.84 kB / 0.9063 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.3397, allocations: 7.438 kB / 0.9063 GB, free: 57 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/0.3397, allocations: 0 / 0.9063 GB, free: 57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.352, allocations: 1.708 MB / 0.908 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.3522, allocations: 212.5 kB / 0.9082 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/1.906, allocations: 4 kB / 0.9082 GB, free: 55.22 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)