Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.007967/0.007967, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.001724/0.001724, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.312/1.312, 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.002041/0.002041, allocations: 297.9 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9003/0.9003, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 95.86 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4806, allocations: 86.97 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002549/0.4832, allocations: 1.284 MB / 0.7672 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1481/0.6313, allocations: 132 MB / 0.8961 GB, free: 14.03 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.6314, allocations: 0 / 0.8961 GB, free: 14.03 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.6315, allocations: 0 / 0.8961 GB, free: 14.03 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 8.218e-05/0.6316, allocations: 7.922 kB / 0.8961 GB, free: 14.02 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.632, allocations: 59.27 kB / 0.8962 GB, free: 13.97 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.687e-05/0.6321, allocations: 27.86 kB / 0.8962 GB, free: 13.94 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.6322, allocations: 0 / 0.8962 GB, free: 13.94 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.6322, allocations: 15.92 kB / 0.8962 GB, free: 13.93 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.6323, allocations: 4 kB / 0.8962 GB, free: 13.92 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.6323, allocations: 4 kB / 0.8962 GB, free: 13.92 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/0.6324, allocations: 11.98 kB / 0.8962 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.6325, allocations: 11.92 kB / 0.8962 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.6325, allocations: 4 kB / 0.8962 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.6326, allocations: 27.86 kB / 0.8963 GB, free: 13.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6326, allocations: 0 / 0.8963 GB, free: 13.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6326, allocations: 0 / 0.8963 GB, free: 13.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.6326, allocations: 4 kB / 0.8963 GB, free: 13.86 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004305/0.6331, allocations: 336.8 kB / 0.8966 GB, free: 13.48 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.6331, allocations: 8.031 kB / 0.8966 GB, free: 13.48 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.6332, allocations: 38.73 kB / 0.8966 GB, free: 13.43 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.6332, allocations: 0.9375 kB / 0.8966 GB, free: 13.43 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.6333, allocations: 164.3 kB / 0.8968 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.383e-05/0.6334, allocations: 38.25 kB / 0.8968 GB, free: 13.19 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.6335, allocations: 384 / 0.8968 GB, free: 13.19 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.6336, allocations: 46 kB / 0.8969 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6336, allocations: 0 / 0.8969 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.6336, allocations: 0 / 0.8969 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.6336, allocations: 0 / 0.8969 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.95e-05/0.6337, allocations: 15.98 kB / 0.8969 GB, free: 13.12 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.634, allocations: 161.6 kB / 0.897 GB, free: 12.91 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.6341, allocations: 34.55 kB / 0.8971 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.6342, allocations: 16.86 kB / 0.8971 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.6344, allocations: 89.19 kB / 0.8972 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.6344, allocations: 34.5 kB / 0.8972 GB, free: 12.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.6344, allocations: 0 / 0.8972 GB, free: 12.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0002698/0.6347, allocations: 57.67 kB / 0.8973 GB, free: 12.64 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.6348, allocations: 63.34 kB / 0.8973 GB, free: 12.57 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.6349, allocations: 89.86 kB / 0.8974 GB, free: 12.47 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.6349, allocations: 33.64 kB / 0.8974 GB, free: 12.43 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.6349, allocations: 88.12 kB / 0.8975 GB, free: 12.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.635, allocations: 7.891 kB / 0.8975 GB, free: 12.33 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.635, allocations: 13.72 kB / 0.8975 GB, free: 12.31 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6352, allocations: 314.8 kB / 0.8978 GB, free: 12 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.831e-05/0.6352, allocations: 7.984 kB / 0.8979 GB, free: 11.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.625e-05/0.6353, allocations: 8 kB / 0.8979 GB, free: 11.98 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/0.6354, allocations: 24.84 kB / 0.8979 GB, free: 11.95 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6354, allocations: 0 / 0.8979 GB, free: 11.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001303/0.6355, allocations: 49.64 kB / 0.8979 GB, free: 11.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.6355, allocations: 11.94 kB / 0.8979 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.6356, allocations: 0 / 0.8979 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6356, allocations: 0.5156 kB / 0.8979 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.6357, allocations: 11.92 kB / 0.898 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.6357, allocations: 4 kB / 0.898 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.6357, allocations: 4 kB / 0.898 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.6357, allocations: 0 / 0.898 GB, free: 11.87 MB / 0.67 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 (3): * Single equations (assignments): 3 * 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 8.469e-05/0.6358, allocations: 116.2 kB / 0.8981 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.6358, allocations: 7.938 kB / 0.8981 GB, free: 11.74 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.636, allocations: 57.16 kB / 0.8981 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.636, allocations: 0 / 0.8981 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.6361, allocations: 0 / 0.8981 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6361, allocations: 4 kB / 0.8981 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.6362, allocations: 157.7 kB / 0.8983 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6362, allocations: 0 / 0.8983 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.6362, allocations: 11.94 kB / 0.8983 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.6363, allocations: 7.922 kB / 0.8983 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.6363, allocations: 0 / 0.8983 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6363, allocations: 0 / 0.8983 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6363, allocations: 0 / 0.8983 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.6364, allocations: 77.12 kB / 0.8984 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/0.6365, allocations: 88.98 kB / 0.8985 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.6365, allocations: 4 kB / 0.8985 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.923e-05/0.6366, allocations: 0 / 0.8985 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.6366, allocations: 3.938 kB / 0.8985 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.6366, allocations: 8 kB / 0.8985 GB, free: 11.23 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.6367, allocations: 83.27 kB / 0.8986 GB, free: 11.15 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.6367, allocations: 0 / 0.8986 GB, free: 11.15 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0001988/0.6369, allocations: 11.94 kB / 0.8986 GB, free: 11.14 MB / 0.67 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 (3): * Single equations (assignments): 3 * 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.0004982/0.6374, allocations: 0.628 MB / 0.8992 GB, free: 10.48 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.6376, allocations: 19.98 kB / 0.8992 GB, free: 10.46 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.6376, allocations: 0 / 0.8992 GB, free: 10.46 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 4.976e-05/0.6376, allocations: 15.92 kB / 0.8992 GB, free: 10.45 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.6379, allocations: 9.125 kB / 0.8992 GB, free: 10.44 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.6383, allocations: 149.4 kB / 0.8994 GB, free: 10.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.6386, allocations: 0.6729 MB / 0.9 GB, free: 9.551 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.6386, allocations: 7.984 kB / 0.9 GB, free: 9.543 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.6386, allocations: 15.44 kB / 0.9 GB, free: 9.527 MB / 0.67 GB Notification: Performance of SimCode: time 2.4e-07/0.6387, allocations: 0 / 0.9 GB, free: 9.527 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.6568, allocations: 1.379 MB / 0.9014 GB, free: 8.293 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/8.013, allocations: 6.359 kB / 0.9014 GB, free: 8.293 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX_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_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)