Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00757/0.00757, allocations: 107.8 kB / 15.7 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 191.3 kB / 16.64 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001632, allocations: 66.66 kB / 0.6718 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2171, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002459/0.2196, allocations: 1.275 MB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2211, allocations: 0.9178 MB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.2211, allocations: 0 / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.2211, allocations: 0 / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.2212, allocations: 3.938 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.2219, allocations: 195 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.802e-05/0.222, allocations: 15.92 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.222, allocations: 4 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.2221, allocations: 15.92 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.2221, allocations: 7.984 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.2221, allocations: 0 / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.2225, allocations: 241 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.2225, allocations: 0 / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.2226, allocations: 15.86 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.2228, allocations: 155.7 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2229, allocations: 0 / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2229, allocations: 0 / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.2229, allocations: 0 / 0.7864 GB, free: 10.41 MB / 0.6075 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.000414/0.2233, allocations: 355.5 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2234, allocations: 12.03 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.2234, allocations: 34.75 kB / 0.7868 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.2236, allocations: 12.83 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.2237, allocations: 168.4 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.2237, allocations: 384 / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.2237, allocations: 3.938 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.2238, allocations: 45.67 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2239, allocations: 3.984 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2239, allocations: 4 kB / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.2239, allocations: 0 / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.718e-05/0.2239, allocations: 19.92 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.2241, allocations: 161.7 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008851/0.225, allocations: 134.5 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.2251, allocations: 16.86 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.2252, allocations: 85.09 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.2252, allocations: 30.56 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.2252, allocations: 0 / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001774/0.2254, allocations: 65.62 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.2254, allocations: 51.41 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.2255, allocations: 97.86 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.2255, allocations: 25.7 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.473e-05/0.2256, allocations: 80.14 kB / 0.7877 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.2256, allocations: 23.72 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.2256, allocations: 13.72 kB / 0.7878 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2257, allocations: 318.8 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.2258, allocations: 11.92 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.2258, allocations: 8 kB / 0.7881 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.064e-05/0.2259, allocations: 32.92 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2259, allocations: 0 / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.528e-05/0.226, allocations: 57.62 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.226, allocations: 4 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.226, allocations: 0 / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.226, allocations: 0 / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.2261, allocations: 11.98 kB / 0.7882 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2261, allocations: 0 / 0.7882 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.2261, allocations: 3.938 kB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2261, allocations: 0 / 0.7882 GB, free: 8.309 MB / 0.6075 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 8.129e-05/0.2262, allocations: 122.4 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.2262, allocations: 0 / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.2265, allocations: 81.02 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2265, allocations: 0 / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2265, allocations: 7.984 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2265, allocations: 0 / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2267, allocations: 169.9 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2267, allocations: 0 / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.2267, allocations: 4 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.2267, allocations: 4 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.2267, allocations: 0 / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2267, allocations: 4.062 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2268, allocations: 0 / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.2269, allocations: 96.98 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.2269, allocations: 85.09 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.227, allocations: 0 / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.339e-05/0.227, allocations: 0 / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.227, allocations: 4 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.227, allocations: 4 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.2271, allocations: 79.27 kB / 0.7888 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2271, allocations: 0 / 0.7888 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002426/0.2273, allocations: 40 kB / 0.7889 GB, free: 7.512 MB / 0.6075 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.0006024/0.2279, allocations: 0.6986 MB / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.2281, allocations: 31.92 kB / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2281, allocations: 0 / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/0.2281, allocations: 19.98 kB / 0.7896 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.2283, allocations: 7.938 kB / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.2287, allocations: 176.1 kB / 0.7898 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.229, allocations: 0.6729 MB / 0.7904 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.712e-05/0.229, allocations: 15.98 kB / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.2291, allocations: 11.44 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2291, allocations: 0 / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.2478, allocations: 1.948 MB / 0.7924 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.452/7.7, allocations: 14.69 kB / 0.7924 GB, free: 3.949 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)