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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8342/0.8342, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 178.9 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009482, allocations: 98.34 kB / 0.5124 GB, free: 24.3 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002136, allocations: 274.8 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.164e-05/4.209e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4854, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.6513, allocations: 135.2 MB / 0.8964 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.6517, allocations: 75.94 kB / 0.8965 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.003964/0.6556, allocations: 1.659 MB / 0.8981 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6557, allocations: 7.938 kB / 0.8981 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.6557, allocations: 0 / 0.8981 GB, free: 3.559 MB / 0.5573 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.000308/0.656, allocations: 322.6 kB / 0.8984 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6561, allocations: 8.031 kB / 0.8984 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.6561, allocations: 34.75 kB / 0.8984 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.6562, allocations: 4 kB / 0.8985 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.6563, allocations: 174.9 kB / 0.8986 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.99e-05/0.6564, allocations: 33.7 kB / 0.8987 GB, free: 2.895 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.6564, allocations: 4 kB / 0.8987 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.6565, allocations: 33.69 kB / 0.8987 GB, free: 2.852 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.6565, allocations: 3.938 kB / 0.8987 GB, free: 2.848 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.6565, allocations: 0 / 0.8987 GB, free: 2.848 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.6566, allocations: 4 kB / 0.8987 GB, free: 2.844 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.509e-05/0.6566, allocations: 8 kB / 0.8987 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.6568, allocations: 157.7 kB / 0.8989 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.988e-05/0.6569, allocations: 32.53 kB / 0.8989 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.6569, allocations: 12.86 kB / 0.8989 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.6571, allocations: 89.19 kB / 0.899 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.6571, allocations: 30.56 kB / 0.899 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.6571, allocations: 0 / 0.899 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0001466/0.6573, allocations: 45.61 kB / 0.8991 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.6573, allocations: 55.39 kB / 0.8991 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.6574, allocations: 105 kB / 0.8992 GB, free: 2.207 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.6574, allocations: 25.7 kB / 0.8992 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.6575, allocations: 80.14 kB / 0.8993 GB, free: 2.094 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.6575, allocations: 3.906 kB / 0.8993 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.6575, allocations: 0 / 0.8993 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6576, allocations: 318.8 kB / 0.8996 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.6576, allocations: 4 kB / 0.8996 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.234e-05/0.6577, allocations: 4 kB / 0.8996 GB, free: 1.762 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.038e-05/0.6577, allocations: 7.984 kB / 0.8996 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6577, allocations: 4 kB / 0.8996 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.33e-05/0.6578, allocations: 41.7 kB / 0.8997 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.6578, allocations: 7.984 kB / 0.8997 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.6578, allocations: 0 / 0.8997 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.6578, allocations: 0 / 0.8997 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.369e-05/0.6579, allocations: 7.938 kB / 0.8997 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6579, allocations: 0 / 0.8997 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.658, allocations: 7.938 kB / 0.8997 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.658, allocations: 0 / 0.8997 GB, free: 1.68 MB / 0.5573 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 () * 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.024e-05/0.6581, allocations: 112.9 kB / 0.8998 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.6581, allocations: 7.906 kB / 0.8998 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.6582, allocations: 52.22 kB / 0.8999 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6582, allocations: 0 / 0.8999 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6582, allocations: 4 kB / 0.8999 GB, free: 1.496 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6582, allocations: 0 / 0.8999 GB, free: 1.496 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.6583, allocations: 157.6 kB / 0.9 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.6584, allocations: 0 / 0.9 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.6584, allocations: 4 kB / 0.9 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.6584, allocations: 0 / 0.9 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.6584, allocations: 0 / 0.9 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.6584, allocations: 4 kB / 0.9 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6584, allocations: 11.88 kB / 0.9 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.33e-05/0.6585, allocations: 65.12 kB / 0.9001 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/0.6586, allocations: 89.05 kB / 0.9002 GB, free: 1.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.6586, allocations: 0 / 0.9002 GB, free: 1.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.965e-05/0.6587, allocations: 4 kB / 0.9002 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.6587, allocations: 4 kB / 0.9002 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.6587, allocations: 4 kB / 0.9002 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.6588, allocations: 83.69 kB / 0.9003 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6588, allocations: 0 / 0.9003 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001835/0.659, allocations: 19.94 kB / 0.9003 GB, free: 0.9727 MB / 0.5573 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 () * 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.0004795/0.6595, allocations: 0.6438 MB / 0.9009 GB, free: 308 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.834e-05/0.6595, allocations: 20 kB / 0.9009 GB, free: 288 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.6596, allocations: 0 / 0.9009 GB, free: 288 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.6596, allocations: 8 kB / 0.9009 GB, free: 280 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.6597, allocations: 4.75 kB / 0.901 GB, free: 276 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.66, allocations: 100.2 kB / 0.901 GB, free: 140 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.6603, allocations: 0.677 MB / 0.9017 GB, free: 15.43 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.6604, allocations: 8 kB / 0.9017 GB, free: 15.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.6604, allocations: 7.438 kB / 0.9017 GB, free: 15.42 MB / 0.573 GB Notification: Performance of SimCode: time 2.61e-07/0.6604, allocations: 0 / 0.9017 GB, free: 15.42 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.6729, allocations: 1.804 MB / 0.9035 GB, free: 13.79 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.6731, allocations: 178.8 kB / 0.9037 GB, free: 13.57 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.387, allocations: 2.531 kB / 0.9037 GB, free: 13.57 MB / 0.573 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)