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.8063/0.8063, allocations: 143.3 MB / 158.3 MB, free: 5.816 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 179.3 kB / 191.5 MB, free: 5.77 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.558/1.558, allocations: 223.2 MB / 447.7 MB, free: 4.828 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.0009967/0.0009966, allocations: 88.27 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002154/0.002153, allocations: 279.4 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004427, allocations: 16.72 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1855, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.62/0.8056, allocations: 135.3 MB / 0.9059 GB, free: 22.02 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.8059, allocations: 82.33 kB / 0.906 GB, free: 22.02 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.00343/0.8093, allocations: 1.66 MB / 0.9076 GB, free: 21.63 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.036e-06/0.8093, allocations: 3.875 kB / 0.9076 GB, free: 21.63 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.8093, allocations: 0 / 0.9076 GB, free: 21.63 MB / 0.5417 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.00027/0.8096, allocations: 328.5 kB / 0.9079 GB, free: 21.28 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.8097, allocations: 12.25 kB / 0.9079 GB, free: 21.28 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.8097, allocations: 30.56 kB / 0.9079 GB, free: 21.24 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.8098, allocations: 4.781 kB / 0.9079 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.699e-05/0.8099, allocations: 178.4 kB / 0.9081 GB, free: 21.03 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/0.8099, allocations: 28.28 kB / 0.9081 GB, free: 21 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.81, allocations: 3.906 kB / 0.9081 GB, free: 21 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.8101, allocations: 40.48 kB / 0.9082 GB, free: 20.96 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.8101, allocations: 0.6094 kB / 0.9082 GB, free: 20.96 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.8101, allocations: 0 / 0.9082 GB, free: 20.96 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.8101, allocations: 0 / 0.9082 GB, free: 20.96 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/0.8102, allocations: 10.48 kB / 0.9082 GB, free: 20.96 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.8104, allocations: 164.6 kB / 0.9084 GB, free: 20.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.326e-05/0.8105, allocations: 36.91 kB / 0.9084 GB, free: 20.74 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.8106, allocations: 88.08 kB / 0.9085 GB, free: 20.65 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.8107, allocations: 34.5 kB / 0.9085 GB, free: 20.61 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.8107, allocations: 4 kB / 0.9085 GB, free: 20.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002227/0.8109, allocations: 58.89 kB / 0.9086 GB, free: 20.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.8109, allocations: 51.41 kB / 0.9086 GB, free: 20.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.148e-05/0.811, allocations: 95.53 kB / 0.9087 GB, free: 20.42 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.811, allocations: 25.7 kB / 0.9087 GB, free: 20.39 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.829e-05/0.811, allocations: 80.14 kB / 0.9088 GB, free: 20.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.8111, allocations: 6.422 kB / 0.9088 GB, free: 20.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.8111, allocations: 0 / 0.9088 GB, free: 20.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.421e-05/0.8111, allocations: 326.6 kB / 0.9091 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.8112, allocations: 5.734 kB / 0.9091 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.8112, allocations: 6.75 kB / 0.9091 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.8113, allocations: 16.98 kB / 0.9091 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8113, allocations: 0 / 0.9091 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.975e-05/0.8114, allocations: 47.89 kB / 0.9092 GB, free: 19.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.8114, allocations: 3.969 kB / 0.9092 GB, free: 19.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.8114, allocations: 0 / 0.9092 GB, free: 19.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.8114, allocations: 4 kB / 0.9092 GB, free: 19.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.738e-05/0.8115, allocations: 6.828 kB / 0.9092 GB, free: 19.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.8115, allocations: 3.906 kB / 0.9092 GB, free: 19.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/0.8115, allocations: 3.906 kB / 0.9092 GB, free: 19.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.8116, allocations: 1 kB / 0.9092 GB, free: 19.94 MB / 0.5417 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 5.843e-05/0.8116, allocations: 118.9 kB / 0.9093 GB, free: 19.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.8116, allocations: 0 / 0.9093 GB, free: 19.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.8118, allocations: 57.62 kB / 0.9094 GB, free: 19.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8118, allocations: 7.906 kB / 0.9094 GB, free: 19.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.8118, allocations: 0 / 0.9094 GB, free: 19.77 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.8118, allocations: 3.938 kB / 0.9094 GB, free: 19.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.824e-05/0.8119, allocations: 158.4 kB / 0.9095 GB, free: 19.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8119, allocations: 0 / 0.9095 GB, free: 19.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.812, allocations: 6.984 kB / 0.9096 GB, free: 19.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.812, allocations: 0 / 0.9096 GB, free: 19.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.812, allocations: 0 / 0.9096 GB, free: 19.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.812, allocations: 3.938 kB / 0.9096 GB, free: 19.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.812, allocations: 0 / 0.9096 GB, free: 19.58 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.8121, allocations: 82.48 kB / 0.9096 GB, free: 19.51 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.8122, allocations: 87.91 kB / 0.9097 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.8122, allocations: 0.9375 kB / 0.9097 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.755e-05/0.8122, allocations: 0 / 0.9097 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.8123, allocations: 10.3 kB / 0.9097 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.8123, allocations: 0 / 0.9097 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.975e-05/0.8123, allocations: 79.12 kB / 0.9098 GB, free: 19.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8123, allocations: 4 kB / 0.9098 GB, free: 19.33 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000204/0.8125, allocations: 14.69 kB / 0.9098 GB, free: 19.32 MB / 0.5417 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.0004105/0.8129, allocations: 0.6524 MB / 0.9105 GB, free: 18.72 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.8131, allocations: 21.34 kB / 0.9105 GB, free: 18.72 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8131, allocations: 7.906 kB / 0.9105 GB, free: 18.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.8131, allocations: 10.17 kB / 0.9105 GB, free: 18.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.8133, allocations: 7.781 kB / 0.9105 GB, free: 18.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.8137, allocations: 169.6 kB / 0.9107 GB, free: 18.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.8138, allocations: 0.6776 MB / 0.9113 GB, free: 17.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.345e-05/0.8138, allocations: 7.875 kB / 0.9113 GB, free: 17.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.8139, allocations: 12.83 kB / 0.9114 GB, free: 17.85 MB / 0.5417 GB Notification: Performance of SimCode: time 7.21e-07/0.8139, allocations: 0 / 0.9114 GB, free: 17.85 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01318/0.8271, allocations: 1.704 MB / 0.913 GB, free: 17.69 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.8273, allocations: 208.6 kB / 0.9132 GB, free: 17.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.321, allocations: 2.953 kB / 0.9132 GB, free: 17.45 MB / 0.5417 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)