Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature",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.0008977/0.0008977, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005176/0.005176, allocations: 169.5 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.2 MB / 240.3 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001653/0.001653, allocations: 282.4 kB / 291.7 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8932/0.8932, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004025, allocations: 18.5 kB / 0.5988 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1794, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.001716/0.1811, allocations: 1.235 MB / 0.6864 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1825, allocations: 0.8858 MB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.1826, allocations: 4 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.922e-05/0.1827, allocations: 1.562 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.1827, allocations: 15.84 kB / 0.6873 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.1831, allocations: 168.4 kB / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.055e-05/0.1832, allocations: 59.08 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.1833, allocations: 19.91 kB / 0.6876 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.1834, allocations: 15.94 kB / 0.6876 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.1835, allocations: 15.92 kB / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.1835, allocations: 0 / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004437/0.1839, allocations: 339.4 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.1839, allocations: 0.5 kB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.184, allocations: 50.16 kB / 0.688 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.1843, allocations: 227.5 kB / 0.6882 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1843, allocations: 0.5625 kB / 0.6882 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1843, allocations: 0.5938 kB / 0.6882 GB, free: 11.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1844, allocations: 0 / 0.6882 GB, free: 11.93 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005193/0.1849, allocations: 397.5 kB / 0.6886 GB, free: 11.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1849, allocations: 12.03 kB / 0.6886 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.185, allocations: 31.5 kB / 0.6886 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.1853, allocations: 25.69 kB / 0.6886 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.1855, allocations: 178 kB / 0.6888 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1855, allocations: 384 / 0.6888 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1855, allocations: 8.375 kB / 0.6888 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.1857, allocations: 80.95 kB / 0.6889 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1858, allocations: 3.938 kB / 0.6889 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1858, allocations: 4 kB / 0.6889 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1858, allocations: 4 kB / 0.6889 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.186, allocations: 66.33 kB / 0.689 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.1865, allocations: 310 kB / 0.6892 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.1867, allocations: 77.27 kB / 0.6893 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.1868, allocations: 44.83 kB / 0.6894 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.1869, allocations: 0 / 0.6894 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1869, allocations: 34.59 kB / 0.6894 GB, free: 10.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.1869, allocations: 3.938 kB / 0.6894 GB, free: 10.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004311/0.1874, allocations: 129.6 kB / 0.6895 GB, free: 10.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.1874, allocations: 55.39 kB / 0.6896 GB, free: 10.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.996e-05/0.1875, allocations: 109.8 kB / 0.6897 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1875, allocations: 29.7 kB / 0.6897 GB, free: 10.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.1876, allocations: 88.03 kB / 0.6898 GB, free: 10.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.1876, allocations: 19.75 kB / 0.6898 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.1876, allocations: 13.72 kB / 0.6898 GB, free: 10.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1877, allocations: 322.8 kB / 0.6901 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.861e-05/0.1878, allocations: 27.98 kB / 0.6902 GB, free: 9.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.181e-05/0.1879, allocations: 31.97 kB / 0.6902 GB, free: 9.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.1881, allocations: 72.77 kB / 0.6903 GB, free: 9.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1881, allocations: 0 / 0.6903 GB, free: 9.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002347/0.1884, allocations: 102 kB / 0.6904 GB, free: 9.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1884, allocations: 8 kB / 0.6904 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1884, allocations: 3.984 kB / 0.6904 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1884, allocations: 64 / 0.6904 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009118/0.1893, allocations: 111.9 kB / 0.6905 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.1906, allocations: 1.385 MB / 0.6918 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.681e-05/0.1907, allocations: 23.84 kB / 0.6919 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1907, allocations: 0 / 0.6919 GB, free: 7.809 MB / 494.1 MB 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/0.1908, allocations: 115.2 kB / 0.692 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.1909, allocations: 0 / 0.692 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005736/0.1914, allocations: 162.4 kB / 0.6921 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1915, allocations: 0 / 0.6921 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.1915, allocations: 3.938 kB / 0.6921 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1915, allocations: 0 / 0.6921 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.1917, allocations: 177.6 kB / 0.6923 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1917, allocations: 0 / 0.6923 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.901e-05/0.1917, allocations: 15.98 kB / 0.6923 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003904/0.1921, allocations: 44.77 kB / 0.6923 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1922, allocations: 7.938 kB / 0.6924 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.1934, allocations: 1.348 MB / 0.6937 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1934, allocations: 0 / 0.6937 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005243/0.1939, allocations: 236.3 kB / 0.6939 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.194, allocations: 81.02 kB / 0.694 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.194, allocations: 7.984 kB / 0.694 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.951e-05/0.1941, allocations: 11.94 kB / 0.694 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.1942, allocations: 11.98 kB / 0.694 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.1942, allocations: 0 / 0.694 GB, free: 5.359 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.402e-05/0.1942, allocations: 83.28 kB / 0.6941 GB, free: 5.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1942, allocations: 0 / 0.6941 GB, free: 5.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1945, allocations: 19.98 kB / 0.6941 GB, free: 5.258 MB / 494.1 MB 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): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007807/0.1953, allocations: 0.7679 MB / 0.6949 GB, free: 4.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.1963, allocations: 159.9 kB / 0.695 GB, free: 4.305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1963, allocations: 0 / 0.695 GB, free: 4.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.1967, allocations: 162.5 kB / 0.6952 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.197, allocations: 20.67 kB / 0.6952 GB, free: 4.113 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.1987, allocations: 1.436 MB / 0.6966 GB, free: 2.598 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.199, allocations: 0.6809 MB / 0.6972 GB, free: 1.891 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.296e-05/0.199, allocations: 8 kB / 0.6973 GB, free: 1.883 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.1991, allocations: 19.42 kB / 0.6973 GB, free: 1.863 MB / 494.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1991, allocations: 8 kB / 0.6973 GB, free: 1.855 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3326/0.5317, allocations: 2.017 MB / 0.6993 GB, free: 72 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/0.532, allocations: 264.2 kB / 0.6995 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.24, allocations: 4 kB / 0.6995 GB, free: 15.81 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1)