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.008042/0.008042, allocations: 98.36 kB / 15.73 MB, free: 6.043 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.001996/0.001996, allocations: 195.9 kB / 16.68 MB, free: 5.969 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002108, allocations: 286.5 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.00193, allocations: 91.84 kB / 0.6809 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1834, allocations: 86.98 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.003076/0.1866, allocations: 1.517 MB / 0.7674 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1879, allocations: 0.8803 MB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-05/0.188, allocations: 4 kB / 0.7682 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.1881, allocations: 3.938 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.1882, allocations: 19.84 kB / 0.7683 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006499/0.1889, allocations: 191.1 kB / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.189, allocations: 59.73 kB / 0.7685 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1891, allocations: 24.2 kB / 0.7685 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.1892, allocations: 15.94 kB / 0.7685 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.1893, allocations: 23.91 kB / 0.7686 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.1893, allocations: 0 / 0.7686 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/0.1899, allocations: 339.4 kB / 0.7689 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.1899, allocations: 11.98 kB / 0.7689 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.1899, allocations: 19.88 kB / 0.7689 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.1904, allocations: 235.3 kB / 0.7691 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1904, allocations: 0 / 0.7691 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1904, allocations: 7.938 kB / 0.7691 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.1904, allocations: 0 / 0.7691 GB, free: 5.609 MB / 0.5606 GB 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.000621/0.191, allocations: 402.8 kB / 0.7695 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1911, allocations: 12.03 kB / 0.7695 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.1911, allocations: 30.75 kB / 0.7696 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.1914, allocations: 24.89 kB / 0.7696 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1917, allocations: 184.3 kB / 0.7698 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1917, allocations: 4.375 kB / 0.7698 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.1917, allocations: 8.375 kB / 0.7698 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.192, allocations: 74.14 kB / 0.7698 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.192, allocations: 3.938 kB / 0.7699 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.192, allocations: 4 kB / 0.7699 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.192, allocations: 0 / 0.7699 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.1923, allocations: 55.95 kB / 0.7699 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.1928, allocations: 312.6 kB / 0.7702 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.1931, allocations: 66.67 kB / 0.7703 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.1932, allocations: 32.83 kB / 0.7703 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1932, allocations: 8 kB / 0.7703 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1932, allocations: 30.56 kB / 0.7703 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.1932, allocations: 0 / 0.7703 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0004281/0.1937, allocations: 121.7 kB / 0.7705 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1937, allocations: 51.41 kB / 0.7705 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.1938, allocations: 109.8 kB / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1939, allocations: 37.7 kB / 0.7706 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.1939, allocations: 88.03 kB / 0.7707 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.1939, allocations: 19.89 kB / 0.7707 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.194, allocations: 21.7 kB / 0.7708 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1941, allocations: 314.8 kB / 0.7711 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1942, allocations: 31.97 kB / 0.7711 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.457e-05/0.1943, allocations: 23.98 kB / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.1945, allocations: 64.75 kB / 0.7712 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1945, allocations: 0 / 0.7712 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002658/0.1948, allocations: 93.61 kB / 0.7713 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1948, allocations: 4 kB / 0.7713 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.1948, allocations: 0 / 0.7713 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1949, allocations: 0 / 0.7713 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.1959, allocations: 123.8 kB / 0.7714 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.1973, allocations: 1.48 MB / 0.7728 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.1974, allocations: 11.97 kB / 0.7729 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1974, allocations: 4 kB / 0.7729 GB, free: 1.426 MB / 0.5606 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 (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.527e-05/0.1975, allocations: 110.5 kB / 0.773 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.1976, allocations: 8.391 kB / 0.773 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/0.1982, allocations: 146.5 kB / 0.7731 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.1982, allocations: 4 kB / 0.7731 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1982, allocations: 3.938 kB / 0.7731 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1982, allocations: 7.922 kB / 0.7731 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.1984, allocations: 177.7 kB / 0.7733 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1984, allocations: 3.938 kB / 0.7733 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.987e-05/0.1985, allocations: 15.98 kB / 0.7733 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/0.1988, allocations: 32.83 kB / 0.7733 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.1988, allocations: 0 / 0.7733 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3773/0.5761, allocations: 1.449 MB / 0.7748 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5761, allocations: 3.062 kB / 0.7748 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006049/0.5768, allocations: 216.7 kB / 0.775 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.5768, allocations: 83.69 kB / 0.775 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.5768, allocations: 2.078 kB / 0.775 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.5769, allocations: 10.8 kB / 0.7751 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.577, allocations: 8.281 kB / 0.7751 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.577, allocations: 2.031 kB / 0.7751 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.883e-05/0.5771, allocations: 87.28 kB / 0.7752 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5771, allocations: 0 / 0.7752 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003621/0.5775, allocations: 24.02 kB / 0.7752 GB, free: 13.41 MB / 0.5606 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): 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.0008014/0.5783, allocations: 0.7562 MB / 0.7759 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.5795, allocations: 158.2 kB / 0.7761 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5795, allocations: 0 / 0.7761 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.5799, allocations: 155.3 kB / 0.7762 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.5802, allocations: 16.8 kB / 0.7762 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.582, allocations: 1.394 MB / 0.7776 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.5822, allocations: 0.6894 MB / 0.7783 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.243e-05/0.5823, allocations: 5.453 kB / 0.7783 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.5823, allocations: 14.16 kB / 0.7783 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.5823, allocations: 2.438 kB / 0.7783 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.6063, allocations: 2.387 MB / 0.7806 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.63, allocations: 14.38 kB / 0.7806 GB, free: 10.45 MB / 0.5606 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1)