Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_Buildings_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.001159/0.001159, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 189.4 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 71.78 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2233, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002646/0.226, allocations: 1.286 MB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5515/0.7775, allocations: 132 MB / 0.9138 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.7776, allocations: 0 / 0.9138 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.7777, allocations: 0.8438 kB / 0.9138 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.7778, allocations: 6.906 kB / 0.9138 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.7782, allocations: 60.03 kB / 0.9139 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.43e-05/0.7783, allocations: 22.75 kB / 0.9139 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.7783, allocations: 2.469 kB / 0.9139 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.093e-05/0.7784, allocations: 11.45 kB / 0.9139 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.7785, allocations: 5.156 kB / 0.9139 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.7785, allocations: 5.812 kB / 0.9139 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.633e-05/0.7786, allocations: 12.58 kB / 0.9139 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.7786, allocations: 2.891 kB / 0.9139 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.7786, allocations: 10.17 kB / 0.9139 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.7788, allocations: 25.03 kB / 0.914 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7788, allocations: 0.875 kB / 0.914 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.166e-06/0.7788, allocations: 0 / 0.914 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.7788, allocations: 1.656 kB / 0.914 GB, free: 5.688 MB / 0.7169 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.0007372/0.7795, allocations: 332.1 kB / 0.9143 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.7796, allocations: 14.25 kB / 0.9143 GB, free: 21.33 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.7796, allocations: 38.3 kB / 0.9143 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.7797, allocations: 7.422 kB / 0.9143 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.7798, allocations: 162 kB / 0.9145 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.627e-05/0.7799, allocations: 30.34 kB / 0.9145 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.7799, allocations: 1.906 kB / 0.9145 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.78, allocations: 43.41 kB / 0.9146 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7801, allocations: 3.953 kB / 0.9146 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.7801, allocations: 0 / 0.9146 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.7801, allocations: 4.969 kB / 0.9146 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.7802, allocations: 14.48 kB / 0.9146 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.7804, allocations: 151.5 kB / 0.9147 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.016e-05/0.7805, allocations: 30.61 kB / 0.9148 GB, free: 20.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.7805, allocations: 16.59 kB / 0.9148 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.7807, allocations: 92.33 kB / 0.9149 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.7807, allocations: 39.92 kB / 0.9149 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.7807, allocations: 0 / 0.9149 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002547/0.781, allocations: 57.52 kB / 0.915 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.781, allocations: 54.12 kB / 0.915 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.7811, allocations: 99.44 kB / 0.9151 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.7811, allocations: 29.64 kB / 0.9151 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.7812, allocations: 85.17 kB / 0.9152 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.7812, allocations: 15.48 kB / 0.9152 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.7812, allocations: 17.23 kB / 0.9152 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.7814, allocations: 313 kB / 0.9155 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.843e-05/0.7814, allocations: 13.3 kB / 0.9156 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-05/0.7815, allocations: 6.266 kB / 0.9156 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.546e-05/0.7816, allocations: 23.22 kB / 0.9156 GB, free: 20 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7816, allocations: 4 kB / 0.9156 GB, free: 20 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001269/0.7817, allocations: 49.45 kB / 0.9156 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.7817, allocations: 9.391 kB / 0.9156 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.7817, allocations: 2.516 kB / 0.9156 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.7818, allocations: 3.75 kB / 0.9157 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/0.7818, allocations: 6.766 kB / 0.9157 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.7819, allocations: 0 / 0.9157 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.7819, allocations: 4.297 kB / 0.9157 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.7819, allocations: 1.469 kB / 0.9157 GB, free: 19.96 MB / 0.7325 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 7.077e-05/0.782, allocations: 112 kB / 0.9158 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.782, allocations: 5.938 kB / 0.9158 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.7822, allocations: 60.47 kB / 0.9158 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.7822, allocations: 1.875 kB / 0.9158 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.7822, allocations: 0.7031 kB / 0.9158 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7822, allocations: 0.9062 kB / 0.9158 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.7823, allocations: 152.4 kB / 0.916 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.7823, allocations: 0 / 0.916 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.7824, allocations: 6.734 kB / 0.916 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.7824, allocations: 8.594 kB / 0.916 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.7824, allocations: 0.9062 kB / 0.916 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.7824, allocations: 3.094 kB / 0.916 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7824, allocations: 0.5156 kB / 0.916 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.7826, allocations: 81.86 kB / 0.9161 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.7826, allocations: 84.83 kB / 0.9162 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.7827, allocations: 1.031 kB / 0.9162 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.95e-05/0.7827, allocations: 6.297 kB / 0.9162 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.7827, allocations: 3.562 kB / 0.9162 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.7828, allocations: 0.8438 kB / 0.9162 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.7828, allocations: 86.02 kB / 0.9163 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7828, allocations: 0.9062 kB / 0.9163 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001956/0.783, allocations: 8.547 kB / 0.9163 GB, free: 19.36 MB / 0.7325 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.0005029/0.7835, allocations: 0.6274 MB / 0.9169 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.7837, allocations: 25.77 kB / 0.9169 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7837, allocations: 0.6875 kB / 0.9169 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.874e-05/0.7837, allocations: 9.578 kB / 0.9169 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.784, allocations: 10.25 kB / 0.9169 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.7845, allocations: 169.1 kB / 0.9171 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.7848, allocations: 0.6792 MB / 0.9177 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.7848, allocations: 2.625 kB / 0.9177 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.7849, allocations: 10.02 kB / 0.9178 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of SimCode: time 1.082e-06/0.7849, allocations: 4 kB / 0.9178 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.8034, allocations: 1.355 MB / 0.9191 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/8.387, allocations: 8.391 kB / 0.9191 GB, free: 17.55 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)