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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001225/0.001225, allocations: 197.5 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 289.4 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9018/0.9018, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 91.83 kB / 0.5946 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1865, allocations: 86.98 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002633/0.1891, allocations: 1.343 MB / 0.6809 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4983/0.6875, allocations: 129.9 MB / 0.8077 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.6875, allocations: 0 / 0.8077 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.6876, allocations: 10.23 kB / 0.8077 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.841e-05/0.6876, allocations: 0 / 0.8077 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.6879, allocations: 53.94 kB / 0.8077 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.48e-05/0.688, allocations: 25.56 kB / 0.8078 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.342e-05/0.688, allocations: 1.062 kB / 0.8078 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.6881, allocations: 8.672 kB / 0.8078 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.991e-05/0.6881, allocations: 14.2 kB / 0.8078 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.6882, allocations: 0 / 0.8078 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.69e-05/0.6882, allocations: 11.69 kB / 0.8078 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.6883, allocations: 6.188 kB / 0.8078 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.6883, allocations: 11.28 kB / 0.8078 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.248e-05/0.6884, allocations: 29.2 kB / 0.8078 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6884, allocations: 0 / 0.8078 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6884, allocations: 1.203 kB / 0.8078 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6884, allocations: 3.938 kB / 0.8079 GB, free: 2.25 MB / 0.5606 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.0004663/0.6889, allocations: 332.6 kB / 0.8082 GB, free: 17.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.6889, allocations: 9 kB / 0.8082 GB, free: 17.89 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.689, allocations: 34.31 kB / 0.8082 GB, free: 17.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.689, allocations: 3.25 kB / 0.8082 GB, free: 17.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.6891, allocations: 174.1 kB / 0.8084 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/0.6892, allocations: 27.11 kB / 0.8084 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.6892, allocations: 2.031 kB / 0.8084 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.6893, allocations: 45.62 kB / 0.8085 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.6893, allocations: 1.094 kB / 0.8085 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.6893, allocations: 0 / 0.8085 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.6893, allocations: 0 / 0.8085 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.679e-05/0.6894, allocations: 18.19 kB / 0.8085 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.6896, allocations: 156 kB / 0.8086 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.085e-05/0.6897, allocations: 30.03 kB / 0.8086 GB, free: 17.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.24e-05/0.6897, allocations: 13.86 kB / 0.8087 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.6899, allocations: 87.23 kB / 0.8087 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.6899, allocations: 40.81 kB / 0.8088 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.6899, allocations: 4 kB / 0.8088 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002054/0.6901, allocations: 57.88 kB / 0.8088 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.6902, allocations: 52.66 kB / 0.8089 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.6902, allocations: 97.88 kB / 0.809 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.6902, allocations: 26.77 kB / 0.809 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.6903, allocations: 80.14 kB / 0.8091 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.6903, allocations: 12.8 kB / 0.8091 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.6903, allocations: 17.12 kB / 0.8091 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.6904, allocations: 315.6 kB / 0.8094 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.6905, allocations: 6.484 kB / 0.8094 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.6905, allocations: 11.61 kB / 0.8094 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.318e-05/0.6906, allocations: 25.38 kB / 0.8095 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6906, allocations: 1.094 kB / 0.8095 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000119/0.6907, allocations: 55.95 kB / 0.8095 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.6908, allocations: 9 kB / 0.8095 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6908, allocations: 6.438 kB / 0.8095 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.6908, allocations: 2.25 kB / 0.8095 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.6909, allocations: 5.406 kB / 0.8095 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6909, allocations: 0 / 0.8095 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.6909, allocations: 6.609 kB / 0.8095 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.6909, allocations: 2.281 kB / 0.8095 GB, free: 16.51 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/0.691, allocations: 114 kB / 0.8097 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.691, allocations: 5.031 kB / 0.8097 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.6911, allocations: 66.44 kB / 0.8097 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.6912, allocations: 3.688 kB / 0.8097 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.6912, allocations: 0 / 0.8097 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.6912, allocations: 0 / 0.8097 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.064e-05/0.6913, allocations: 152 kB / 0.8099 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6913, allocations: 0 / 0.8099 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.6913, allocations: 7.625 kB / 0.8099 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6913, allocations: 5.406 kB / 0.8099 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.6913, allocations: 0 / 0.8099 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6913, allocations: 3.922 kB / 0.8099 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6913, allocations: 5.656 kB / 0.8099 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.6915, allocations: 67.67 kB / 0.81 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.6915, allocations: 92.12 kB / 0.81 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.6916, allocations: 0.6875 kB / 0.81 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.821e-05/0.6916, allocations: 6.406 kB / 0.81 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.6916, allocations: 4.25 kB / 0.8101 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.6916, allocations: 0 / 0.8101 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.6917, allocations: 83.34 kB / 0.8101 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6917, allocations: 0 / 0.8101 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001809/0.6919, allocations: 12.16 kB / 0.8101 GB, free: 15.9 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004092/0.6923, allocations: 0.6227 MB / 0.8108 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.6924, allocations: 29.61 kB / 0.8108 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6924, allocations: 0 / 0.8108 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.6925, allocations: 7.734 kB / 0.8108 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.6927, allocations: 10.67 kB / 0.8108 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.6931, allocations: 154.8 kB / 0.8109 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.6933, allocations: 0.6786 MB / 0.8116 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.907e-05/0.6933, allocations: 8.438 kB / 0.8116 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.6934, allocations: 10.38 kB / 0.8116 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.6934, allocations: 3.938 kB / 0.8116 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01015/0.7035, allocations: 1.228 MB / 0.8128 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001367/0.7037, allocations: 226.7 kB / 0.813 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.35, allocations: 3 kB / 0.813 GB, free: 13.97 MB / 0.5762 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/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)