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.001248/0.001248, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001118/0.001118, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.372/1.372, allocations: 205.1 MB / 222 MB, free: 4.973 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.621/1.621, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001336/0.001336, allocations: 65.42 kB / 0.6709 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2166, allocations: 114.6 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002601/0.2192, allocations: 1.348 MB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.2208, allocations: 0.9375 MB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.622e-05/0.2208, allocations: 0 / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.2209, allocations: 0 / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.146e-05/0.2209, allocations: 8 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.2215, allocations: 150.9 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.207e-05/0.2215, allocations: 23.92 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.2216, allocations: 0 / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.2217, allocations: 4 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.2218, allocations: 11.92 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.2218, allocations: 0 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.2221, allocations: 191.8 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.2221, allocations: 11.98 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.2222, allocations: 4 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.2225, allocations: 159.9 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2225, allocations: 0 / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.91e-07/0.2225, allocations: 0 / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2225, allocations: 3.938 kB / 0.7856 GB, free: 11.09 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.0005815/0.2231, allocations: 351.5 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.2232, allocations: 12.02 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.2232, allocations: 34.75 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.2234, allocations: 12.92 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2235, allocations: 164.4 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2236, allocations: 384 / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.2236, allocations: 3.938 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.2237, allocations: 45.62 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2237, allocations: 0 / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2237, allocations: 0 / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2237, allocations: 4 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.593e-05/0.2238, allocations: 23.92 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.2241, allocations: 157.6 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009202/0.225, allocations: 138.5 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.049e-05/0.225, allocations: 20.84 kB / 0.7865 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.2252, allocations: 89.09 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.2252, allocations: 30.56 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2252, allocations: 0 / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002888/0.2255, allocations: 65.62 kB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.2256, allocations: 55.41 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.946e-05/0.2256, allocations: 93.84 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2257, allocations: 25.7 kB / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.2257, allocations: 84.27 kB / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.2257, allocations: 15.81 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.2258, allocations: 13.72 kB / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2259, allocations: 314.8 kB / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.2259, allocations: 8 kB / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.9e-05/0.2259, allocations: 8 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.317e-05/0.226, allocations: 32.78 kB / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.226, allocations: 0 / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.46e-05/0.2261, allocations: 57.62 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2261, allocations: 6.656 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2261, allocations: 0 / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2262, allocations: 0 / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/0.2262, allocations: 12 kB / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2262, allocations: 0 / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/0.2263, allocations: 0 / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.2263, allocations: 4 kB / 0.7874 GB, free: 9 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.851e-05/0.2264, allocations: 114.4 kB / 0.7875 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.2264, allocations: 7.844 kB / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.2267, allocations: 89.11 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2267, allocations: 4 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2267, allocations: 0 / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2267, allocations: 0 / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.2268, allocations: 169.5 kB / 0.7877 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2268, allocations: 0 / 0.7877 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.2269, allocations: 8 kB / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2269, allocations: 0 / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2269, allocations: 4 kB / 0.7877 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2269, allocations: 0 / 0.7877 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2269, allocations: 3.984 kB / 0.7878 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.2271, allocations: 89 kB / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.2271, allocations: 81.11 kB / 0.7879 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.2272, allocations: 4 kB / 0.7879 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.737e-05/0.2272, allocations: 0 / 0.7879 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.2272, allocations: 7.984 kB / 0.7879 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2272, allocations: 0 / 0.7879 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.914e-05/0.2273, allocations: 75.28 kB / 0.788 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2273, allocations: 0 / 0.788 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002431/0.2275, allocations: 52 kB / 0.788 GB, free: 8.195 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.0006825/0.2282, allocations: 0.697 MB / 0.7887 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.2284, allocations: 24 kB / 0.7888 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2285, allocations: 0 / 0.7888 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.2285, allocations: 16.11 kB / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.2287, allocations: 8 kB / 0.7888 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.2292, allocations: 182 kB / 0.7889 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.2295, allocations: 0.677 MB / 0.7896 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.176e-05/0.2295, allocations: 8 kB / 0.7896 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2296, allocations: 11.44 kB / 0.7896 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.2297, allocations: 0 / 0.7896 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.2408, allocations: 1.801 MB / 0.7914 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.241, allocations: 265.7 kB / 0.7916 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.07, allocations: 0.5 kB / 0.7916 GB, free: 4.547 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --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)