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.008614/0.008614, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001806/0.001806, allocations: 200.3 kB / 16.68 MB, free: 5.934 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002537/0.002537, allocations: 278.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.211/1.211, allocations: 178.6 MB / 0.5074 GB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 95.84 kB / 0.6943 GB, free: 15.24 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.52/0.5227, allocations: 89.12 MB / 0.7813 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.002426/0.5252, allocations: 1.53 MB / 0.7828 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.5268, allocations: 0.8876 MB / 0.7837 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.5269, allocations: 0 / 0.7837 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.527, allocations: 9.719 kB / 0.7837 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.5271, allocations: 16.66 kB / 0.7837 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.5276, allocations: 189.6 kB / 0.7839 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.5278, allocations: 61.14 kB / 0.7839 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.5279, allocations: 14.86 kB / 0.784 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.528, allocations: 12.84 kB / 0.784 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/0.528, allocations: 27.52 kB / 0.784 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.5281, allocations: 3.781 kB / 0.784 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006108/0.5287, allocations: 335.5 kB / 0.7843 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.5287, allocations: 5.125 kB / 0.7843 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.5288, allocations: 35.78 kB / 0.7844 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.5292, allocations: 226.6 kB / 0.7846 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5292, allocations: 1.688 kB / 0.7846 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.92e-07/0.5292, allocations: 0 / 0.7846 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.5293, allocations: 0 / 0.7846 GB, free: 14.7 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.0005917/0.5298, allocations: 406.6 kB / 0.785 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5299, allocations: 9.406 kB / 0.785 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.5299, allocations: 32.19 kB / 0.785 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.5302, allocations: 29.94 kB / 0.785 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.5305, allocations: 181.2 kB / 0.7852 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5305, allocations: 5.844 kB / 0.7852 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.5305, allocations: 3.219 kB / 0.7852 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.5307, allocations: 79.08 kB / 0.7853 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5308, allocations: 3.938 kB / 0.7853 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.5308, allocations: 0 / 0.7853 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5308, allocations: 1.5 kB / 0.7853 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.531, allocations: 59.86 kB / 0.7854 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.5315, allocations: 308.4 kB / 0.7856 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.5318, allocations: 72.89 kB / 0.7857 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.5319, allocations: 32.73 kB / 0.7857 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.5319, allocations: 0 / 0.7857 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.532, allocations: 36.25 kB / 0.7858 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.532, allocations: 3.938 kB / 0.7858 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0004331/0.5324, allocations: 121.5 kB / 0.7859 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.5325, allocations: 56.66 kB / 0.786 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.5326, allocations: 106.3 kB / 0.7861 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.5326, allocations: 26.8 kB / 0.7861 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.5327, allocations: 89.34 kB / 0.7862 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.5327, allocations: 14.16 kB / 0.7862 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.5328, allocations: 17.12 kB / 0.7862 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5329, allocations: 325 kB / 0.7865 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.5331, allocations: 25.2 kB / 0.7865 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.032e-05/0.5332, allocations: 25.38 kB / 0.7866 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.5334, allocations: 66.14 kB / 0.7866 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5334, allocations: 0 / 0.7866 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002462/0.5337, allocations: 92.5 kB / 0.7867 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5337, allocations: 5.625 kB / 0.7867 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5337, allocations: 7.938 kB / 0.7867 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5337, allocations: 1.219 kB / 0.7867 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009957/0.5347, allocations: 121.7 kB / 0.7868 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.5365, allocations: 1.474 MB / 0.7883 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.621e-05/0.5366, allocations: 9.016 kB / 0.7883 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.5366, allocations: 5.094 kB / 0.7883 GB, free: 11.03 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 0.0001046/0.5367, allocations: 116.4 kB / 0.7884 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.5368, allocations: 6.141 kB / 0.7884 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005823/0.5374, allocations: 145.8 kB / 0.7885 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5374, allocations: 1.094 kB / 0.7885 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.5374, allocations: 0 / 0.7885 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5374, allocations: 1.156 kB / 0.7885 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.5376, allocations: 177.6 kB / 0.7887 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.5376, allocations: 8 kB / 0.7887 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.5377, allocations: 20.3 kB / 0.7887 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003169/0.5381, allocations: 35.42 kB / 0.7888 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.5381, allocations: 5.375 kB / 0.7888 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.5396, allocations: 1.443 MB / 0.7902 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5396, allocations: 1.188 kB / 0.7902 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006435/0.5403, allocations: 229 kB / 0.7904 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.5403, allocations: 82.25 kB / 0.7905 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.5404, allocations: 1.25 kB / 0.7905 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.5405, allocations: 11.39 kB / 0.7905 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.5405, allocations: 7.484 kB / 0.7905 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.5406, allocations: 9.125 kB / 0.7905 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001264/0.5407, allocations: 81.97 kB / 0.7906 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5407, allocations: 0 / 0.7906 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002516/0.541, allocations: 18.06 kB / 0.7906 GB, free: 8.66 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.0009119/0.5419, allocations: 0.7587 MB / 0.7914 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.543, allocations: 163.6 kB / 0.7915 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.543, allocations: 0 / 0.7915 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.5434, allocations: 150.7 kB / 0.7917 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.5437, allocations: 14.91 kB / 0.7917 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.5459, allocations: 1.392 MB / 0.793 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.5465, allocations: 0.6864 MB / 0.7937 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.097e-05/0.5465, allocations: 6.5 kB / 0.7937 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.5466, allocations: 17.56 kB / 0.7937 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.5466, allocations: 0 / 0.7937 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.575, allocations: 2.386 MB / 0.7961 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.17, allocations: 11.16 kB / 0.7961 GB, free: 4.504 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)