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.006926/0.006926, allocations: 99.27 kB / 15.73 MB, free: 6.445 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.001779/0.001779, allocations: 194.5 kB / 16.67 MB, free: 6.348 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002466/0.002466, allocations: 291.1 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 100.3 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1794, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002361/0.1818, allocations: 1.274 MB / 0.7672 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5712/0.7531, allocations: 132 MB / 0.8961 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.7532, allocations: 0 / 0.8961 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.7532, allocations: 0 / 0.8961 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.056e-05/0.7533, allocations: 7.922 kB / 0.8961 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.7536, allocations: 64.08 kB / 0.8962 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.7537, allocations: 23.92 kB / 0.8962 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.7538, allocations: 0 / 0.8962 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/0.7538, allocations: 19.92 kB / 0.8962 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.7539, allocations: 4 kB / 0.8962 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.7539, allocations: 0 / 0.8962 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.44e-05/0.754, allocations: 23.92 kB / 0.8962 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.754, allocations: 7.922 kB / 0.8962 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.754, allocations: 4 kB / 0.8962 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.7541, allocations: 24.86 kB / 0.8963 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7541, allocations: 0 / 0.8963 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7541, allocations: 0 / 0.8963 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.7542, allocations: 0 / 0.8963 GB, free: 13.77 MB / 0.6544 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.0004541/0.7546, allocations: 341.1 kB / 0.8966 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.7547, allocations: 12.03 kB / 0.8966 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.449e-05/0.7547, allocations: 34.75 kB / 0.8966 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.7547, allocations: 0.9375 kB / 0.8966 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.7549, allocations: 164.4 kB / 0.8968 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/0.755, allocations: 31.8 kB / 0.8968 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.755, allocations: 4.375 kB / 0.8968 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.7551, allocations: 41.94 kB / 0.8969 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.7551, allocations: 0 / 0.8969 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.7551, allocations: 3.984 kB / 0.8969 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.7551, allocations: 0 / 0.8969 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.773e-05/0.7552, allocations: 16 kB / 0.8969 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.7554, allocations: 157.6 kB / 0.897 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.7555, allocations: 34.61 kB / 0.8971 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.7556, allocations: 10.17 kB / 0.8971 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.7558, allocations: 89.19 kB / 0.8972 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.7558, allocations: 39.5 kB / 0.8972 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.7558, allocations: 3.938 kB / 0.8972 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002259/0.756, allocations: 61.86 kB / 0.8973 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.7561, allocations: 51.41 kB / 0.8973 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.7562, allocations: 105.8 kB / 0.8974 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.7562, allocations: 25.7 kB / 0.8974 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.7563, allocations: 80.14 kB / 0.8975 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.7563, allocations: 15.89 kB / 0.8975 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.7563, allocations: 13.72 kB / 0.8975 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7565, allocations: 314.8 kB / 0.8978 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.446e-05/0.7565, allocations: 7.984 kB / 0.8978 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.7566, allocations: 8 kB / 0.8979 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.705e-05/0.7567, allocations: 28.72 kB / 0.8979 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7567, allocations: 0 / 0.8979 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000135/0.7568, allocations: 57.64 kB / 0.8979 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.7568, allocations: 7.938 kB / 0.8979 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7568, allocations: 3.984 kB / 0.8979 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.7569, allocations: 0 / 0.8979 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.7569, allocations: 10.25 kB / 0.898 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.7569, allocations: 0 / 0.898 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.757, allocations: 0 / 0.898 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.757, allocations: 1.172 kB / 0.898 GB, free: 11.78 MB / 0.6544 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.296e-05/0.7571, allocations: 118.5 kB / 0.8981 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.7571, allocations: 3.938 kB / 0.8981 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.7573, allocations: 57.11 kB / 0.8981 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.7573, allocations: 4 kB / 0.8981 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.7573, allocations: 0 / 0.8981 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.7573, allocations: 0 / 0.8981 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.7574, allocations: 157.7 kB / 0.8983 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7574, allocations: 0 / 0.8983 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.7575, allocations: 7.984 kB / 0.8983 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7575, allocations: 3.938 kB / 0.8983 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.7575, allocations: 4 kB / 0.8983 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7575, allocations: 0 / 0.8983 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7575, allocations: 4 kB / 0.8983 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.7577, allocations: 73.06 kB / 0.8984 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.765e-05/0.7577, allocations: 92.98 kB / 0.8985 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.7577, allocations: 1.688 kB / 0.8985 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.593e-05/0.7578, allocations: 0 / 0.8985 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.7578, allocations: 8 kB / 0.8985 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.7578, allocations: 3.938 kB / 0.8985 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.261e-05/0.7579, allocations: 87.69 kB / 0.8986 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7579, allocations: 0 / 0.8986 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001885/0.7581, allocations: 11.94 kB / 0.8986 GB, free: 11.05 MB / 0.6544 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.0005339/0.7586, allocations: 0.6281 MB / 0.8992 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.7588, allocations: 19.97 kB / 0.8992 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7588, allocations: 0 / 0.8992 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.831e-05/0.7588, allocations: 12 kB / 0.8992 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.7591, allocations: 10.05 kB / 0.8992 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.7595, allocations: 151 kB / 0.8994 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.7598, allocations: 0.6806 MB / 0.9 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.428e-05/0.7598, allocations: 5.562 kB / 0.9 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.7599, allocations: 11.44 kB / 0.9 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.7599, allocations: 0 / 0.9 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.7852, allocations: 1.387 MB / 0.9014 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.63, allocations: 10.94 kB / 0.9014 GB, free: 8.211 MB / 0.6544 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)