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.001228/0.001227, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 286.9 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002082, allocations: 99.42 kB / 0.5953 GB, free: 27.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1839, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.003172/0.1872, allocations: 1.505 MB / 0.6818 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1886, allocations: 0.8819 MB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1887, allocations: 0 / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.1889, allocations: 9.641 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.908e-05/0.1889, allocations: 11.88 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006795/0.1896, allocations: 200.6 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.1898, allocations: 59.73 kB / 0.6829 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1899, allocations: 17.98 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.19, allocations: 19.94 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.19, allocations: 24.42 kB / 0.6829 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.19, allocations: 4 kB / 0.6829 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000555/0.1906, allocations: 335.5 kB / 0.6833 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.1906, allocations: 11.98 kB / 0.6833 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.1907, allocations: 19.88 kB / 0.6833 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.1911, allocations: 235.4 kB / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1911, allocations: 0 / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1911, allocations: 0 / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1911, allocations: 0 / 0.6835 GB, free: 13.28 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.0005283/0.1917, allocations: 401.2 kB / 0.6839 GB, free: 12.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1917, allocations: 8.031 kB / 0.6839 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.1918, allocations: 42.73 kB / 0.684 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.192, allocations: 24.81 kB / 0.684 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.1922, allocations: 176.4 kB / 0.6841 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1923, allocations: 384 / 0.6841 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1923, allocations: 8.375 kB / 0.6842 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.1925, allocations: 70.16 kB / 0.6842 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1925, allocations: 3.938 kB / 0.6842 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1925, allocations: 8 kB / 0.6842 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1926, allocations: 0 / 0.6842 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.1928, allocations: 63.94 kB / 0.6843 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.1933, allocations: 304.6 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.1935, allocations: 66.67 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.1937, allocations: 40.77 kB / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.1937, allocations: 3.984 kB / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1937, allocations: 34.56 kB / 0.6847 GB, free: 11.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.895e-06/0.1937, allocations: 96 / 0.6847 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004209/0.1942, allocations: 125.5 kB / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.1942, allocations: 51.41 kB / 0.6849 GB, free: 11.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.1943, allocations: 106.1 kB / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1943, allocations: 29.7 kB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.1944, allocations: 84.14 kB / 0.6851 GB, free: 11.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1944, allocations: 11.81 kB / 0.6851 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.1944, allocations: 21.7 kB / 0.6851 GB, free: 11.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1945, allocations: 322.8 kB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1947, allocations: 23.97 kB / 0.6855 GB, free: 11.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.1947, allocations: 23.98 kB / 0.6855 GB, free: 11.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.1949, allocations: 64.75 kB / 0.6855 GB, free: 10.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.195, allocations: 0 / 0.6855 GB, free: 10.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002433/0.1952, allocations: 93.56 kB / 0.6856 GB, free: 10.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1952, allocations: 8 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1952, allocations: 4.375 kB / 0.6857 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1953, allocations: 0 / 0.6857 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.1963, allocations: 115.9 kB / 0.6858 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.1977, allocations: 1.496 MB / 0.6872 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.61e-05/0.1978, allocations: 12.09 kB / 0.6872 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1978, allocations: 4 kB / 0.6872 GB, free: 9.094 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.565e-05/0.1979, allocations: 112.8 kB / 0.6873 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.198, allocations: 4 kB / 0.6873 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005835/0.1985, allocations: 146.3 kB / 0.6875 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1986, allocations: 3.938 kB / 0.6875 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.1986, allocations: 0 / 0.6875 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1986, allocations: 3.984 kB / 0.6875 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.1988, allocations: 177.6 kB / 0.6877 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1988, allocations: 7.875 kB / 0.6877 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.1989, allocations: 15.98 kB / 0.6877 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003126/0.1992, allocations: 40.83 kB / 0.6877 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1992, allocations: 0 / 0.6877 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.2005, allocations: 1.439 MB / 0.6891 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2005, allocations: 4.062 kB / 0.6891 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.2011, allocations: 236.2 kB / 0.6894 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.2011, allocations: 85.03 kB / 0.6894 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.2012, allocations: 4 kB / 0.6894 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2013, allocations: 7.938 kB / 0.6895 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.2013, allocations: 8.031 kB / 0.6895 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.2013, allocations: 3.984 kB / 0.6895 GB, free: 6.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.192e-05/0.2014, allocations: 91.27 kB / 0.6896 GB, free: 6.473 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2014, allocations: 4 kB / 0.6896 GB, free: 6.469 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.2017, allocations: 16 kB / 0.6896 GB, free: 6.453 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.0008572/0.2025, allocations: 0.7568 MB / 0.6903 GB, free: 5.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.2037, allocations: 159.8 kB / 0.6905 GB, free: 5.512 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2037, allocations: 0 / 0.6905 GB, free: 5.512 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.204, allocations: 150.7 kB / 0.6906 GB, free: 5.352 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.2044, allocations: 15.98 kB / 0.6906 GB, free: 5.336 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.2063, allocations: 1.389 MB / 0.692 GB, free: 3.867 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.2066, allocations: 0.6921 MB / 0.6927 GB, free: 3.148 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.65e-05/0.2066, allocations: 8 kB / 0.6927 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.2067, allocations: 11.44 kB / 0.6927 GB, free: 3.129 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2067, allocations: 0 / 0.6927 GB, free: 3.129 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.2316, allocations: 2.318 MB / 0.6949 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.63, allocations: 12.08 kB / 0.6949 GB, free: 0.9805 MB / 494.1 MB (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)