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 1.008/1.008, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001165/0.001166, allocations: 179.8 kB / 182.2 MB, free: 9.484 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.636/1.636, allocations: 221.5 MB / 436.4 MB, free: 13.37 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.00118/0.00118, allocations: 100 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002091, allocations: 275.9 kB / 0.5889 GB, free: 54.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.512e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5569/0.5569, allocations: 82.77 MB / 0.7575 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2294/0.7864, allocations: 134.5 MB / 0.8888 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.7868, allocations: 77.02 kB / 0.8889 GB, free: 9.18 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.004498/0.7914, allocations: 1.651 MB / 0.8905 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7914, allocations: 0 / 0.8905 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.7914, allocations: 0 / 0.8905 GB, free: 7.523 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.0003416/0.7918, allocations: 318.6 kB / 0.8908 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.7918, allocations: 8.031 kB / 0.8908 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.7919, allocations: 0 / 0.8908 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.7921, allocations: 171 kB / 0.891 GB, free: 6.953 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.207e-05/0.7922, allocations: 25.7 kB / 0.891 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.7922, allocations: 4 kB / 0.891 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.305e-05/0.7923, allocations: 20.17 kB / 0.8911 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.018e-05/0.7924, allocations: 37.62 kB / 0.8911 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.7924, allocations: 0 / 0.8911 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.7924, allocations: 0 / 0.8911 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.7924, allocations: 0 / 0.8911 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.7926, allocations: 142.1 kB / 0.8912 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/0.7927, allocations: 22.58 kB / 0.8912 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.7927, allocations: 8.859 kB / 0.8913 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001797/0.7929, allocations: 97.17 kB / 0.8913 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.793, allocations: 34.56 kB / 0.8914 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.793, allocations: 0 / 0.8914 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.000231/0.7932, allocations: 45.62 kB / 0.8914 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.7933, allocations: 51.41 kB / 0.8915 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.222e-05/0.7933, allocations: 89 kB / 0.8916 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.7934, allocations: 25.7 kB / 0.8916 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.7934, allocations: 92.12 kB / 0.8917 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.7934, allocations: 7.906 kB / 0.8917 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.7935, allocations: 0 / 0.8917 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7936, allocations: 310.8 kB / 0.892 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.7936, allocations: 4 kB / 0.892 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.073e-05/0.7936, allocations: 4 kB / 0.892 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.342e-05/0.7937, allocations: 7.984 kB / 0.892 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7937, allocations: 0 / 0.892 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.311e-05/0.7938, allocations: 49.64 kB / 0.892 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.7938, allocations: 12 kB / 0.892 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.7938, allocations: 0 / 0.892 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.7938, allocations: 7.875 kB / 0.8921 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.7939, allocations: 4 kB / 0.8921 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.7939, allocations: 0 / 0.8921 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.794, allocations: 4 kB / 0.8921 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.794, allocations: 0 / 0.8921 GB, free: 5.73 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 9.004e-05/0.7941, allocations: 105 kB / 0.8922 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.427e-05/0.7942, allocations: 49.55 kB / 0.8922 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-06/0.7942, allocations: 4 kB / 0.8922 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.7943, allocations: 57.75 kB / 0.8923 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7943, allocations: 480 / 0.8923 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7943, allocations: 4 kB / 0.8923 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7943, allocations: 0 / 0.8923 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.82e-05/0.7945, allocations: 126.2 kB / 0.8924 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.7945, allocations: 7.953 kB / 0.8924 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.7945, allocations: 4 kB / 0.8924 GB, free: 5.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.7945, allocations: 7.969 kB / 0.8924 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.7945, allocations: 0 / 0.8924 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.7945, allocations: 4 kB / 0.8924 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7946, allocations: 0 / 0.8924 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.7947, allocations: 65.12 kB / 0.8925 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.7948, allocations: 88.97 kB / 0.8926 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.7948, allocations: 0 / 0.8926 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.024e-05/0.7948, allocations: 3.984 kB / 0.8926 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.7949, allocations: 11.94 kB / 0.8926 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.7949, allocations: 7.938 kB / 0.8926 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.728e-05/0.7949, allocations: 83.28 kB / 0.8927 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7949, allocations: 0 / 0.8927 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001765/0.7951, allocations: 15.94 kB / 0.8927 GB, free: 5 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.0004938/0.7956, allocations: 0.6475 MB / 0.8933 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.162e-05/0.7957, allocations: 12 kB / 0.8933 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7957, allocations: 4 kB / 0.8933 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.122e-05/0.7957, allocations: 11.94 kB / 0.8933 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.7959, allocations: 6.438 kB / 0.8933 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.7962, allocations: 85.59 kB / 0.8934 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.7965, allocations: 0.6807 MB / 0.8941 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.386e-05/0.7965, allocations: 7.984 kB / 0.8941 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.7966, allocations: 11.44 kB / 0.8941 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of SimCode: time 2.2e-07/0.7966, allocations: 0 / 0.8941 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.8161, allocations: 1.108 MB / 0.8952 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/0.8164, allocations: 161.3 kB / 0.8953 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.522, allocations: 0 / 0.8953 GB, free: 2.16 MB / 0.5573 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)