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.37/1.37, allocations: 251.5 MB / 266.7 MB, free: 10.99 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.00093/0.00093, allocations: 175.8 kB / 325.8 MB, free: 2.676 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.619/1.619, allocations: 205 MB / 0.576 GB, free: 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.0007495/0.0007496, allocations: 94.33 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 11.62 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1786, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001095/0.1797, allocations: 1.006 MB / 0.8972 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004484/0.1802, allocations: 303.8 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.325e-05/0.1802, allocations: 0 / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.1802, allocations: 0 / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.126e-05/0.1803, allocations: 3.938 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.1805, allocations: 47.75 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.104e-05/0.1805, allocations: 23.92 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.1806, allocations: 4 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.1806, allocations: 7.938 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.768e-05/0.1807, allocations: 4 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1807, allocations: 0 / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-05/0.1808, allocations: 55.94 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.1808, allocations: 0 / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.1808, allocations: 11.94 kB / 0.8976 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.1809, allocations: 47.89 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1809, allocations: 0 / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1809, allocations: 0 / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1809, allocations: 4 kB / 0.8977 GB, free: 66.55 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.0002617/0.1812, allocations: 335.5 kB / 0.898 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1813, allocations: 8.031 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.578e-05/0.1813, allocations: 34.73 kB / 0.898 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.1815, allocations: 16.92 kB / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.761e-05/0.1816, allocations: 164.3 kB / 0.8982 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.1816, allocations: 384 / 0.8982 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.1816, allocations: 8.359 kB / 0.8982 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.948e-05/0.1817, allocations: 54.25 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1817, allocations: 3.938 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1817, allocations: 0 / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1817, allocations: 3.984 kB / 0.8983 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.927e-05/0.1818, allocations: 12 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.1819, allocations: 153.7 kB / 0.8984 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.1836, allocations: 278.4 kB / 0.8987 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.1836, allocations: 20.84 kB / 0.8987 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.1836, allocations: 0 / 0.8987 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.1837, allocations: 38.56 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1837, allocations: 0 / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001514/0.1838, allocations: 69.53 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.1839, allocations: 55.34 kB / 0.8989 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.16e-05/0.1839, allocations: 89.86 kB / 0.899 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.1839, allocations: 25.7 kB / 0.899 GB, free: 65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.52e-05/0.1839, allocations: 84.14 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.184, allocations: 11.84 kB / 0.8991 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.184, allocations: 17.83 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/0.1841, allocations: 314.8 kB / 0.8994 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.1841, allocations: 4 kB / 0.8994 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.568e-05/0.1841, allocations: 15.94 kB / 0.8994 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.1842, allocations: 24.84 kB / 0.8994 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1842, allocations: 3.938 kB / 0.8994 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.215e-05/0.1842, allocations: 57.62 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1842, allocations: 11.94 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1843, allocations: 0 / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1843, allocations: 4 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.1843, allocations: 4 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1843, allocations: 0 / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.1844, allocations: 3.906 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1844, allocations: 4 kB / 0.8995 GB, free: 64.42 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 5.305e-05/0.1844, allocations: 113.8 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.1845, allocations: 7.938 kB / 0.8996 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.1845, allocations: 7.828 kB / 0.8996 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1845, allocations: 3.984 kB / 0.8996 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1845, allocations: 4 kB / 0.8996 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1845, allocations: 3.984 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.032e-05/0.1846, allocations: 157.7 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1846, allocations: 0 / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.1846, allocations: 8 kB / 0.8998 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1847, allocations: 3.938 kB / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.1847, allocations: 0 / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1847, allocations: 3.984 kB / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1847, allocations: 0 / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.25e-05/0.1848, allocations: 85.06 kB / 0.8999 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.1848, allocations: 85.09 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.1848, allocations: 3.938 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.853e-05/0.1849, allocations: 0 / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.1849, allocations: 4 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1849, allocations: 0 / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.599e-05/0.1849, allocations: 75.28 kB / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1849, allocations: 0 / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001933/0.1851, allocations: 12.09 kB / 0.9001 GB, free: 63.75 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.000216/0.1853, allocations: 0.624 MB / 0.9007 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.973e-05/0.1854, allocations: 23.94 kB / 0.9007 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1854, allocations: 0 / 0.9007 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.826e-05/0.1855, allocations: 15.98 kB / 0.9007 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.1857, allocations: 13.72 kB / 0.9007 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.186, allocations: 161.9 kB / 0.9009 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.1861, allocations: 0.677 MB / 0.9015 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.084e-05/0.1862, allocations: 11.86 kB / 0.9016 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.1862, allocations: 7.438 kB / 0.9016 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.1862, allocations: 0 / 0.9016 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.2054, allocations: 1.115 MB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.2057, allocations: 220.3 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.901, allocations: 0 / 0.9029 GB, free: 60.92 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)