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_TDewPoi.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_TDewPoi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.38/1.38, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009185/0.0009186, allocations: 169.8 kB / 325.8 MB, free: 2.691 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.651/1.651, allocations: 205 MB / 0.576 GB, free: 20.93 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.0007524/0.0007524, allocations: 91.02 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003003, allocations: 11.5 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1797, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.00116/0.1809, allocations: 1.014 MB / 0.8972 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1822, allocations: 0.9533 MB / 0.8981 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.429e-05/0.1822, allocations: 0 / 0.8981 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.1822, allocations: 0 / 0.8981 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.1823, allocations: 7.922 kB / 0.8981 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.1828, allocations: 150.5 kB / 0.8983 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.616e-05/0.1829, allocations: 23.91 kB / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.1829, allocations: 7.938 kB / 0.8983 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.183, allocations: 7.938 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.1831, allocations: 7.984 kB / 0.8983 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1831, allocations: 0 / 0.8983 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.1834, allocations: 191.8 kB / 0.8985 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.1834, allocations: 0 / 0.8985 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.1834, allocations: 11.92 kB / 0.8985 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1837, allocations: 151.8 kB / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1837, allocations: 0 / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.618e-06/0.1837, allocations: 3.938 kB / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.1837, allocations: 7.938 kB / 0.8987 GB, free: 65.54 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.0003525/0.1841, allocations: 347.5 kB / 0.899 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1841, allocations: 8.031 kB / 0.899 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.1841, allocations: 30.75 kB / 0.899 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.1843, allocations: 12.92 kB / 0.8991 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.643e-05/0.1844, allocations: 168.3 kB / 0.8992 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1844, allocations: 4.375 kB / 0.8992 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.1844, allocations: 7.938 kB / 0.8992 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.1846, allocations: 41.69 kB / 0.8993 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1846, allocations: 0 / 0.8993 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1846, allocations: 0 / 0.8993 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1846, allocations: 4 kB / 0.8993 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.701e-05/0.1847, allocations: 15.98 kB / 0.8993 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.1848, allocations: 153.7 kB / 0.8994 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007917/0.1856, allocations: 130.4 kB / 0.8996 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.1856, allocations: 24.84 kB / 0.8996 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.27e-05/0.1857, allocations: 85.11 kB / 0.8997 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.1858, allocations: 30.56 kB / 0.8997 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1858, allocations: 0 / 0.8997 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001672/0.1859, allocations: 65.58 kB / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.186, allocations: 59.34 kB / 0.8998 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.121e-05/0.186, allocations: 97.86 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.186, allocations: 25.7 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.573e-05/0.1861, allocations: 80.14 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.1861, allocations: 7.906 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.1861, allocations: 13.7 kB / 0.9 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.1862, allocations: 318.8 kB / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.1862, allocations: 4 kB / 0.9003 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.509e-05/0.1862, allocations: 8 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.1863, allocations: 28.84 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1863, allocations: 4.125 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.052e-05/0.1864, allocations: 65.47 kB / 0.9004 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1864, allocations: 8 kB / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1864, allocations: 0 / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1864, allocations: 0 / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.099e-05/0.1865, allocations: 4 kB / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1865, allocations: 0 / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.1865, allocations: 4 kB / 0.9004 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1865, allocations: 3.984 kB / 0.9004 GB, free: 63.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.1866, allocations: 121.7 kB / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.1866, allocations: 4 kB / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.1868, allocations: 77.09 kB / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1868, allocations: 0 / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1868, allocations: 3.938 kB / 0.9006 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1868, allocations: 8 kB / 0.9007 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.991e-05/0.1869, allocations: 169.7 kB / 0.9008 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1869, allocations: 0 / 0.9008 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.187, allocations: 11.98 kB / 0.9008 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.187, allocations: 0 / 0.9008 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.187, allocations: 0 / 0.9008 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.187, allocations: 0 / 0.9008 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.187, allocations: 4 kB / 0.9008 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.519e-05/0.1871, allocations: 89.06 kB / 0.9009 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.1871, allocations: 81.02 kB / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.1871, allocations: 0 / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.81e-05/0.1872, allocations: 7.984 kB / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.1872, allocations: 4 kB / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1872, allocations: 4.328 kB / 0.901 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.734e-05/0.1873, allocations: 79.22 kB / 0.9011 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1873, allocations: 0 / 0.9011 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002153/0.1875, allocations: 47.98 kB / 0.9011 GB, free: 62.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 (5): * Single equations (assignments): 5 * 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.0004315/0.1879, allocations: 0.6915 MB / 0.9018 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.684e-05/0.188, allocations: 31.92 kB / 0.9018 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.188, allocations: 0 / 0.9018 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.239e-05/0.1881, allocations: 16 kB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.1882, allocations: 7.938 kB / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.1886, allocations: 182 kB / 0.902 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.724e-05/0.1887, allocations: 0.68 MB / 0.9027 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.603e-05/0.1887, allocations: 8 kB / 0.9027 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.1888, allocations: 19.42 kB / 0.9027 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1888, allocations: 0 / 0.9027 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009924/0.1987, allocations: 1.721 MB / 0.9044 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001336/0.1989, allocations: 274.4 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/1.87, allocations: 0 / 0.9047 GB, free: 59.04 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)