Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.777/1.777, allocations: 288.2 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 183.4 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008229/0.0008231, allocations: 101.2 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004153, allocations: 11.88 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2054, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001116/0.2065, allocations: 0.969 MB / 0.9804 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004213/0.207, allocations: 261.2 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.207, allocations: 4 kB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.207, allocations: 3.938 kB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.2071, allocations: 4 kB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.2073, allocations: 39.86 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.665e-05/0.2074, allocations: 11.98 kB / 0.9807 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.2074, allocations: 0 / 0.9807 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.242e-05/0.2074, allocations: 19.92 kB / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.2075, allocations: 7.984 kB / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.2075, allocations: 0 / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.2076, allocations: 55.95 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.243e-06/0.2076, allocations: 0 / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.2077, allocations: 33.69 kB / 0.9808 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.258e-05/0.2078, allocations: 32.2 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2078, allocations: 4 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2078, allocations: 0 / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2078, allocations: 0 / 0.9809 GB, free: 26.16 MB / 0.6198 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.0002815/0.2081, allocations: 335.4 kB / 0.9812 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2081, allocations: 12.02 kB / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.2081, allocations: 38.5 kB / 0.9812 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.2084, allocations: 19.88 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.039e-05/0.2084, allocations: 167 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2085, allocations: 0 / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.2085, allocations: 0 / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.624e-05/0.2086, allocations: 45.62 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2086, allocations: 4 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2086, allocations: 4 kB / 0.9815 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2086, allocations: 0 / 0.9815 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.2087, allocations: 15.98 kB / 0.9815 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.2088, allocations: 169.5 kB / 0.9817 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.2106, allocations: 274.4 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.2106, allocations: 0 / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.2107, allocations: 34.56 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.2107, allocations: 0 / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001507/0.2108, allocations: 69.66 kB / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.2108, allocations: 55.41 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.317e-05/0.2109, allocations: 89.86 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.2109, allocations: 25.7 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.16e-05/0.2109, allocations: 80.14 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.2109, allocations: 19.8 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.211, allocations: 0 / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.211, allocations: 314.8 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.211, allocations: 8.125 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.407e-05/0.211, allocations: 11.98 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.406e-05/0.2111, allocations: 12 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2111, allocations: 0 / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.477e-05/0.2112, allocations: 53.62 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2112, allocations: 8 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2112, allocations: 3.984 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2112, allocations: 0 / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.2113, allocations: 4 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.2113, allocations: 0 / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.2113, allocations: 8 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.2114, allocations: 4 kB / 0.9827 GB, free: 24.09 MB / 0.6198 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 4.726e-05/0.2114, allocations: 113.7 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.2114, allocations: 4 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.2115, allocations: 7.5 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2115, allocations: 3.984 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2115, allocations: 3.938 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2115, allocations: 0 / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.881e-05/0.2116, allocations: 157.6 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2116, allocations: 4 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.2116, allocations: 8 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2116, allocations: 0 / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.2116, allocations: 0 / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2116, allocations: 0 / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2116, allocations: 4 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.858e-05/0.2117, allocations: 84.97 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.2118, allocations: 89.05 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2118, allocations: 0 / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.2119, allocations: 4 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.2119, allocations: 4 kB / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.2119, allocations: 4 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.581e-05/0.2119, allocations: 79.28 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2119, allocations: 0 / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001779/0.2121, allocations: 8 kB / 0.9832 GB, free: 23.42 MB / 0.6198 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.0002237/0.2123, allocations: 0.6245 MB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.611e-05/0.2124, allocations: 23.98 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2124, allocations: 0 / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.912e-05/0.2124, allocations: 15.98 kB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.2126, allocations: 8.688 kB / 0.9839 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.213, allocations: 170.2 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.852e-05/0.2131, allocations: 0.677 MB / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.158e-05/0.2132, allocations: 11.98 kB / 0.9847 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.2132, allocations: 7.438 kB / 0.9847 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.2132, allocations: 0 / 0.9847 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00998/0.2232, allocations: 1.089 MB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.2234, allocations: 206.8 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/1.761, allocations: 0 / 0.986 GB, free: 20.62 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)