Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.344/1.344, allocations: 252 MB / 267.3 MB, free: 10.8 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.001007/0.001007, allocations: 171.8 kB / 327 MB, free: 2.094 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.595/1.595, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0007975/0.0007973, allocations: 84.2 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 12.62 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2161, allocations: 106.3 MB / 0.9009 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001172/0.2174, allocations: 0.9969 MB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004793/0.2179, allocations: 288.5 kB / 0.9022 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.35e-05/0.2179, allocations: 0 / 0.9022 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.2179, allocations: 4 kB / 0.9022 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.218, allocations: 11.92 kB / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.2182, allocations: 31.83 kB / 0.9022 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.662e-05/0.2182, allocations: 27.86 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.2183, allocations: 4 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.142e-05/0.2183, allocations: 7.984 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.2184, allocations: 4 kB / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.2184, allocations: 0 / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.2185, allocations: 59.94 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.2185, allocations: 3.938 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.2186, allocations: 37.64 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.2187, allocations: 47.89 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2187, allocations: 0 / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2187, allocations: 0 / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2187, allocations: 4 kB / 0.9024 GB, free: 61.72 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.0002531/0.219, allocations: 331.8 kB / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.219, allocations: 8.031 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.219, allocations: 42.69 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.2192, allocations: 20.91 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.55e-05/0.2193, allocations: 160.4 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.2193, allocations: 4.375 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.2193, allocations: 384 / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.217e-05/0.2194, allocations: 46.25 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.2194, allocations: 3.938 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2194, allocations: 0 / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2195, allocations: 3.984 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.2195, allocations: 19.98 kB / 0.903 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.2196, allocations: 161.6 kB / 0.9032 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.2213, allocations: 270.5 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.2214, allocations: 16.86 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.2214, allocations: 4 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.2214, allocations: 34.55 kB / 0.9035 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2214, allocations: 0 / 0.9035 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001377/0.2216, allocations: 73.47 kB / 0.9035 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.2216, allocations: 59.34 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.342e-05/0.2216, allocations: 89.86 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.944e-06/0.2216, allocations: 25.7 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.247e-05/0.2217, allocations: 88.14 kB / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.2217, allocations: 7.844 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-06/0.2217, allocations: 0 / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.267e-05/0.2217, allocations: 310.8 kB / 0.9041 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.2218, allocations: 11.98 kB / 0.9041 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.518e-05/0.2218, allocations: 12.12 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.2218, allocations: 24.86 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2218, allocations: 0 / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.225e-05/0.2219, allocations: 57.62 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2219, allocations: 11.94 kB / 0.9042 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2219, allocations: 0 / 0.9042 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2219, allocations: 0 / 0.9042 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.222, allocations: 7.984 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.222, allocations: 0 / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.222, allocations: 7.906 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.2221, allocations: 3.938 kB / 0.9042 GB, free: 59.61 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.2221, allocations: 113.8 kB / 0.9043 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.2221, allocations: 7.938 kB / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.2221, allocations: 7.5 kB / 0.9044 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2222, allocations: 0 / 0.9044 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2222, allocations: 0 / 0.9044 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2222, allocations: 0 / 0.9044 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.172e-05/0.2222, allocations: 153.7 kB / 0.9045 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2222, allocations: 0 / 0.9045 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.2223, allocations: 11.98 kB / 0.9045 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2223, allocations: 7.938 kB / 0.9045 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.2223, allocations: 3.938 kB / 0.9045 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2223, allocations: 0 / 0.9045 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2223, allocations: 0 / 0.9045 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.572e-05/0.2224, allocations: 81.44 kB / 0.9046 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.2224, allocations: 81.11 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.2225, allocations: 11.88 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.763e-05/0.2225, allocations: 0 / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.2225, allocations: 11.98 kB / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2225, allocations: 0 / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.425e-05/0.2226, allocations: 75.28 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2226, allocations: 0 / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001607/0.2227, allocations: 12 kB / 0.9048 GB, free: 58.95 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002205/0.223, allocations: 0.6163 MB / 0.9054 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.839e-05/0.223, allocations: 27.98 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2231, allocations: 0 / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.2231, allocations: 15.94 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.2233, allocations: 9.188 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.2236, allocations: 174.2 kB / 0.9056 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.018e-05/0.2237, allocations: 0.677 MB / 0.9063 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.777e-05/0.2238, allocations: 7.859 kB / 0.9063 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.2238, allocations: 11.44 kB / 0.9063 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2238, allocations: 0 / 0.9063 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00956/0.2334, allocations: 1.13 MB / 0.9074 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/0.2336, allocations: 220 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/1.768, allocations: 7.938 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)