Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_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.00536/0.00536, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001304/0.001304, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002582/0.002581, allocations: 293.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.26/1.26, allocations: 178.6 MB / 0.5074 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 104.2 kB / 0.6943 GB, free: 15.23 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4299, allocations: 89.12 MB / 0.7813 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002288/0.4322, allocations: 1.276 MB / 0.7826 GB, free: 208 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.4339, allocations: 0.8635 MB / 0.7834 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.4339, allocations: 1.406 kB / 0.7834 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.4339, allocations: 4 kB / 0.7834 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.04e-05/0.434, allocations: 3.938 kB / 0.7834 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000749/0.4348, allocations: 192.9 kB / 0.7836 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.701e-05/0.4349, allocations: 24.58 kB / 0.7836 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.4349, allocations: 1.438 kB / 0.7836 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.24e-05/0.435, allocations: 3.875 kB / 0.7836 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.435, allocations: 15.12 kB / 0.7837 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.435, allocations: 5.375 kB / 0.7837 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004638/0.4355, allocations: 235 kB / 0.7839 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.4355, allocations: 5.438 kB / 0.7839 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.4356, allocations: 7.125 kB / 0.7839 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.4359, allocations: 154.7 kB / 0.7841 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4359, allocations: 0 / 0.7841 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4359, allocations: 0 / 0.7841 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.4359, allocations: 0 / 0.7841 GB, free: 15.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005024/0.4364, allocations: 358.8 kB / 0.7844 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4365, allocations: 13.38 kB / 0.7844 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.4365, allocations: 36.06 kB / 0.7844 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.4367, allocations: 9.203 kB / 0.7845 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.4369, allocations: 177.5 kB / 0.7846 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.4369, allocations: 1.719 kB / 0.7846 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.4369, allocations: 5.344 kB / 0.7846 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.4371, allocations: 40.31 kB / 0.7847 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4371, allocations: 0 / 0.7847 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4371, allocations: 1.281 kB / 0.7847 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4371, allocations: 0 / 0.7847 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.747e-05/0.4372, allocations: 20.52 kB / 0.7847 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.4374, allocations: 159.7 kB / 0.7848 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009421/0.4383, allocations: 132.8 kB / 0.785 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.4384, allocations: 22.27 kB / 0.785 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.4385, allocations: 85.28 kB / 0.7851 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4385, allocations: 31.91 kB / 0.7851 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.4385, allocations: 0 / 0.7851 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002177/0.4388, allocations: 61.5 kB / 0.7852 GB, free: 14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.4388, allocations: 57.06 kB / 0.7852 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.4389, allocations: 90.98 kB / 0.7853 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.439, allocations: 25.7 kB / 0.7853 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.439, allocations: 85.98 kB / 0.7854 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.4391, allocations: 17.27 kB / 0.7854 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.4391, allocations: 17.72 kB / 0.7854 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.4393, allocations: 310.8 kB / 0.7857 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.4394, allocations: 8.234 kB / 0.7857 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.4394, allocations: 9.75 kB / 0.7858 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.997e-05/0.4395, allocations: 30.89 kB / 0.7858 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4395, allocations: 1.094 kB / 0.7858 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001127/0.4396, allocations: 69.45 kB / 0.7858 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.4396, allocations: 4.594 kB / 0.7859 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.4396, allocations: 7.984 kB / 0.7859 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.4397, allocations: 1.469 kB / 0.7859 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.071e-05/0.4397, allocations: 6.203 kB / 0.7859 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4397, allocations: 3.938 kB / 0.7859 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.4398, allocations: 1.5 kB / 0.7859 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.4398, allocations: 1.375 kB / 0.7859 GB, free: 13.27 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 (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 0.0001125/0.4399, allocations: 115.2 kB / 0.786 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.4399, allocations: 5.469 kB / 0.786 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.4402, allocations: 86.8 kB / 0.7861 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.4402, allocations: 0 / 0.7861 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4403, allocations: 5.375 kB / 0.7861 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4403, allocations: 0 / 0.7861 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.4404, allocations: 171.1 kB / 0.7862 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4404, allocations: 1.219 kB / 0.7862 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.4405, allocations: 7.25 kB / 0.7862 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4405, allocations: 0 / 0.7862 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.4405, allocations: 1.312 kB / 0.7862 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4405, allocations: 0 / 0.7862 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4405, allocations: 0 / 0.7862 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.4407, allocations: 89.55 kB / 0.7863 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.4408, allocations: 87.03 kB / 0.7864 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.4408, allocations: 1.188 kB / 0.7864 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.581e-05/0.4409, allocations: 1.125 kB / 0.7864 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.4409, allocations: 6.562 kB / 0.7864 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4409, allocations: 5.266 kB / 0.7864 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.501e-05/0.441, allocations: 80.91 kB / 0.7865 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.21e-07/0.441, allocations: 0 / 0.7865 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002699/0.4412, allocations: 43.75 kB / 0.7865 GB, free: 12.57 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): 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.0007683/0.442, allocations: 0.6924 MB / 0.7872 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.4421, allocations: 32.05 kB / 0.7873 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4422, allocations: 1.531 kB / 0.7873 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.054e-05/0.4422, allocations: 17.58 kB / 0.7873 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.4424, allocations: 19.55 kB / 0.7873 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.4428, allocations: 165.8 kB / 0.7875 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.4432, allocations: 0.6735 MB / 0.7881 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.67e-05/0.4432, allocations: 13.7 kB / 0.7881 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.4433, allocations: 13.72 kB / 0.7881 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.4433, allocations: 0 / 0.7881 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.4657, allocations: 1.993 MB / 0.7901 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.378, allocations: 10.62 kB / 0.7901 GB, free: 9.938 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_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_Functions_Examples_pW_TDewPoi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)