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.0007909/0.0007908, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008442/0.0008442, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.724/1.724, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005514/0.0005514, allocations: 14.31 kB / 0.6738 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3243, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001759/0.3261, allocations: 1.009 MB / 0.7884 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1748/0.501, allocations: 119.6 MB / 0.9052 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.5011, allocations: 0 / 0.9052 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.5011, allocations: 0 / 0.9052 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.5012, allocations: 11.92 kB / 0.9052 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.5017, allocations: 43.8 kB / 0.9052 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.5018, allocations: 19.92 kB / 0.9052 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.132e-05/0.5019, allocations: 4 kB / 0.9052 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.91e-05/0.502, allocations: 11.94 kB / 0.9053 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.5021, allocations: 8 kB / 0.9053 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.5021, allocations: 0 / 0.9053 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.5022, allocations: 15.92 kB / 0.9053 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.5022, allocations: 4 kB / 0.9053 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.5023, allocations: 29.7 kB / 0.9053 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.5024, allocations: 20.19 kB / 0.9053 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.5024, allocations: 0 / 0.9053 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5024, allocations: 3.938 kB / 0.9053 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5024, allocations: 0 / 0.9053 GB, free: 2.73 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.0005246/0.503, allocations: 335.3 kB / 0.9057 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.503, allocations: 8.031 kB / 0.9057 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.5031, allocations: 30.56 kB / 0.9057 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.5031, allocations: 4 kB / 0.9057 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.5033, allocations: 171 kB / 0.9059 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.532e-05/0.5034, allocations: 29.7 kB / 0.9059 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.5035, allocations: 0 / 0.9059 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.5036, allocations: 49.56 kB / 0.9059 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5036, allocations: 4 kB / 0.9059 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.5037, allocations: 0 / 0.9059 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5037, allocations: 0 / 0.9059 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.625e-05/0.5038, allocations: 11.98 kB / 0.906 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.504, allocations: 157.7 kB / 0.9061 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.5041, allocations: 30.66 kB / 0.9061 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.5042, allocations: 16.84 kB / 0.9061 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.5044, allocations: 93.09 kB / 0.9062 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.5044, allocations: 38.5 kB / 0.9063 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.5044, allocations: 0 / 0.9063 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002469/0.5047, allocations: 53.67 kB / 0.9063 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.5047, allocations: 55.41 kB / 0.9064 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.5048, allocations: 93.86 kB / 0.9065 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.5049, allocations: 29.7 kB / 0.9065 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.5049, allocations: 80.14 kB / 0.9066 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.505, allocations: 19.8 kB / 0.9066 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.505, allocations: 0 / 0.9066 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5051, allocations: 314.8 kB / 0.9069 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.5052, allocations: 4 kB / 0.9069 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.5053, allocations: 11.92 kB / 0.9069 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.5053, allocations: 8 kB / 0.9069 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5053, allocations: 4 kB / 0.9069 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001144/0.5055, allocations: 49.69 kB / 0.907 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5055, allocations: 7.984 kB / 0.907 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5055, allocations: 0 / 0.907 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.5055, allocations: 3.938 kB / 0.907 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.5056, allocations: 8 kB / 0.907 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.5056, allocations: 3.984 kB / 0.907 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.5057, allocations: 0 / 0.907 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.5057, allocations: 0 / 0.907 GB, free: 0.7891 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.176e-05/0.5058, allocations: 117.8 kB / 0.9071 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.5058, allocations: 4 kB / 0.9071 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.506, allocations: 65.11 kB / 0.9072 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.506, allocations: 0 / 0.9072 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.506, allocations: 0 / 0.9072 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.506, allocations: 0 / 0.9072 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.5061, allocations: 157.6 kB / 0.9073 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5062, allocations: 0 / 0.9073 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.5062, allocations: 11.98 kB / 0.9073 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5062, allocations: 0 / 0.9073 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.5062, allocations: 4 kB / 0.9073 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5062, allocations: 3.938 kB / 0.9073 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5062, allocations: 0 / 0.9073 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.5064, allocations: 81.48 kB / 0.9074 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.5065, allocations: 85.14 kB / 0.9075 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.5065, allocations: 3.984 kB / 0.9075 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.504e-05/0.5065, allocations: 4 kB / 0.9075 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.5066, allocations: 7.984 kB / 0.9075 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.5066, allocations: 0 / 0.9075 GB, free: 148 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.357e-05/0.5067, allocations: 79.28 kB / 0.9076 GB, free: 68 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5067, allocations: 0 / 0.9076 GB, free: 68 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001956/0.5069, allocations: 19.94 kB / 0.9076 GB, free: 48 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6181/1.125, allocations: 0.6103 MB / 0.9082 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002059/1.125, allocations: 21.12 kB / 0.9082 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.125, allocations: 0 / 0.9082 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.828e-05/1.125, allocations: 15.12 kB / 0.9082 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/1.126, allocations: 9.688 kB / 0.9082 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/1.126, allocations: 168.3 kB / 0.9084 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/1.126, allocations: 0.6834 MB / 0.9091 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.753e-05/1.127, allocations: 9.906 kB / 0.9091 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/1.127, allocations: 9.891 kB / 0.9091 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/1.127, allocations: 0.8125 kB / 0.9091 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/1.139, allocations: 1.13 MB / 0.9102 GB, free: 125.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/1.139, allocations: 207.5 kB / 0.9104 GB, free: 125.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.824, allocations: 0 / 0.9104 GB, free: 125.5 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --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) Environment - environmentSimulation: