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.001933/0.001933, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.002363/0.002362, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.54/3.54, allocations: 205.4 MB / 222.1 MB, free: 5.516 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 3.322/3.322, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.00108/0.001081, allocations: 17.22 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5054, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002565/0.5081, allocations: 0.9899 MB / 0.7882 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.2625/0.7706, allocations: 111.9 MB / 0.8975 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.7709, allocations: 0 / 0.8975 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.594e-05/0.7709, allocations: 3.938 kB / 0.8975 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.7711, allocations: 7.969 kB / 0.8975 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007842/0.7719, allocations: 43.86 kB / 0.8976 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.7721, allocations: 15.97 kB / 0.8976 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.467e-05/0.7722, allocations: 0 / 0.8976 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.494e-05/0.7723, allocations: 16 kB / 0.8976 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.7724, allocations: 11.92 kB / 0.8976 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.7725, allocations: 0 / 0.8976 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.7726, allocations: 15.83 kB / 0.8976 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.7727, allocations: 7.969 kB / 0.8976 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.7728, allocations: 29.7 kB / 0.8977 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.7729, allocations: 20.2 kB / 0.8977 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.773, allocations: 0 / 0.8977 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.887e-06/0.773, allocations: 0 / 0.8977 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.773, allocations: 0 / 0.8977 GB, free: 10.48 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.0009632/0.774, allocations: 335.3 kB / 0.898 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001084/0.7741, allocations: 8.031 kB / 0.898 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.628e-05/0.7742, allocations: 30.56 kB / 0.898 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002796/0.7745, allocations: 4 kB / 0.898 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.7748, allocations: 170.9 kB / 0.8982 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003438/0.7751, allocations: 33.7 kB / 0.8982 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.7752, allocations: 0 / 0.8982 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.7754, allocations: 33.69 kB / 0.8983 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.7755, allocations: 8 kB / 0.8983 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.7755, allocations: 3.984 kB / 0.8983 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.7755, allocations: 0 / 0.8983 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.7757, allocations: 15.94 kB / 0.8983 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.7761, allocations: 157.6 kB / 0.8984 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.7763, allocations: 38.53 kB / 0.8985 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003724/0.7767, allocations: 93.19 kB / 0.8986 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.626e-05/0.7768, allocations: 34.56 kB / 0.8986 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.7768, allocations: 0 / 0.8986 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005174/0.7773, allocations: 57.67 kB / 0.8987 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.7774, allocations: 51.41 kB / 0.8987 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.7776, allocations: 97.86 kB / 0.8988 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002287/0.7779, allocations: 25.7 kB / 0.8988 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.778, allocations: 84.14 kB / 0.8989 GB, free: 8.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.778, allocations: 7.812 kB / 0.8989 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.778, allocations: 3.938 kB / 0.8989 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0003006/0.7783, allocations: 326.8 kB / 0.8992 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.84e-05/0.7784, allocations: 4 kB / 0.8992 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.949e-05/0.7785, allocations: 11.92 kB / 0.8992 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.278e-05/0.7786, allocations: 8 kB / 0.8992 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7786, allocations: 0 / 0.8992 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000223/0.7789, allocations: 49.69 kB / 0.8993 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.7789, allocations: 8 kB / 0.8993 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.7789, allocations: 0 / 0.8993 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/0.779, allocations: 0 / 0.8993 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.7791, allocations: 7.984 kB / 0.8993 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.7792, allocations: 0 / 0.8993 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.7792, allocations: 4 kB / 0.8993 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.7793, allocations: 0 / 0.8993 GB, free: 8.551 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 0.0001371/0.7794, allocations: 117.7 kB / 0.8994 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.7794, allocations: 4 kB / 0.8994 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.7799, allocations: 57.17 kB / 0.8995 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.7799, allocations: 0 / 0.8995 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.7799, allocations: 0 / 0.8995 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.7799, allocations: 0 / 0.8995 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.7805, allocations: 157.6 kB / 0.8996 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.7805, allocations: 4 kB / 0.8996 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.79e-05/0.7806, allocations: 7.984 kB / 0.8996 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.7806, allocations: 0 / 0.8996 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.7806, allocations: 4 kB / 0.8996 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7806, allocations: 0 / 0.8996 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7807, allocations: 0 / 0.8996 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.781, allocations: 77.53 kB / 0.8997 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.7811, allocations: 85.05 kB / 0.8998 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.7812, allocations: 8 kB / 0.8998 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.415e-05/0.7813, allocations: 3.938 kB / 0.8998 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.7814, allocations: 4 kB / 0.8998 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.7814, allocations: 4.047 kB / 0.8998 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001234/0.7815, allocations: 83.25 kB / 0.8999 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.62e-07/0.7815, allocations: 0 / 0.8999 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003825/0.7819, allocations: 11.94 kB / 0.8999 GB, free: 7.824 MB / 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.001303/0.7832, allocations: 0.6241 MB / 0.9005 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002827/0.7836, allocations: 19.98 kB / 0.9005 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.7836, allocations: 3.938 kB / 0.9005 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.283e-05/0.7837, allocations: 11.98 kB / 0.9006 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.7841, allocations: 8 kB / 0.9006 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000811/0.785, allocations: 182.3 kB / 0.9007 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.7856, allocations: 0.677 MB / 0.9014 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.324e-05/0.7857, allocations: 3.984 kB / 0.9014 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.7857, allocations: 11.44 kB / 0.9014 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.7858, allocations: 4 kB / 0.9014 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.8168, allocations: 1.12 MB / 0.9025 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004078/0.8173, allocations: 198.2 kB / 0.9027 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.159/3.976, allocations: 0 / 0.9027 GB, free: 4.977 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: