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.005978/0.005978, allocations: 99.64 kB / 15.73 MB, free: 6.027 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.001093/0.001093, allocations: 186.2 kB / 16.67 MB, free: 5.969 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 282.8 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9032/0.9032, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 95.7 kB / 0.681 GB, free: 28 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1605, allocations: 86.98 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002627/0.1632, allocations: 1.284 MB / 0.7672 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.506/0.6692, allocations: 132 MB / 0.8961 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.6693, allocations: 0 / 0.8961 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.6693, allocations: 4 kB / 0.8961 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.655e-05/0.6694, allocations: 7.922 kB / 0.8961 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.6698, allocations: 62.53 kB / 0.8962 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.454e-05/0.6699, allocations: 19.88 kB / 0.8962 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.6699, allocations: 7.984 kB / 0.8962 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.7e-05/0.67, allocations: 7.828 kB / 0.8962 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.6701, allocations: 11.98 kB / 0.8962 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.6701, allocations: 0 / 0.8962 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.6702, allocations: 8 kB / 0.8962 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.6702, allocations: 11.98 kB / 0.8962 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.6703, allocations: 7.922 kB / 0.8962 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.6704, allocations: 29.92 kB / 0.8963 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6704, allocations: 4 kB / 0.8963 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6704, allocations: 0 / 0.8963 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.6704, allocations: 0 / 0.8963 GB, free: 13.76 MB / 0.6544 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.000438/0.6708, allocations: 336.4 kB / 0.8966 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.6709, allocations: 11.97 kB / 0.8966 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.6709, allocations: 30.75 kB / 0.8966 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.671, allocations: 4.938 kB / 0.8966 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.6711, allocations: 160.4 kB / 0.8968 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.997e-05/0.6712, allocations: 39 kB / 0.8968 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.6712, allocations: 384 / 0.8968 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.6713, allocations: 46 kB / 0.8969 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6713, allocations: 0 / 0.8969 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.6714, allocations: 0 / 0.8969 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.6714, allocations: 0 / 0.8969 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.856e-05/0.6715, allocations: 11.98 kB / 0.8969 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.6716, allocations: 157.7 kB / 0.897 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.406e-05/0.6718, allocations: 30.58 kB / 0.897 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.6718, allocations: 16.94 kB / 0.8971 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001883/0.672, allocations: 93.09 kB / 0.8972 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.672, allocations: 36.19 kB / 0.8972 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.6721, allocations: 0 / 0.8972 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002401/0.6723, allocations: 65.7 kB / 0.8972 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.6723, allocations: 55.41 kB / 0.8973 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.6724, allocations: 97.84 kB / 0.8974 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.6725, allocations: 27.48 kB / 0.8974 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.6725, allocations: 84.14 kB / 0.8975 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.6725, allocations: 11.84 kB / 0.8975 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.6726, allocations: 13.72 kB / 0.8975 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.6727, allocations: 314.8 kB / 0.8978 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/0.6727, allocations: 15.94 kB / 0.8978 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.024e-05/0.6728, allocations: 7.984 kB / 0.8978 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.729e-05/0.6729, allocations: 20.86 kB / 0.8979 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6729, allocations: 0 / 0.8979 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001138/0.673, allocations: 53.61 kB / 0.8979 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.673, allocations: 14.12 kB / 0.8979 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.673, allocations: 0 / 0.8979 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.673, allocations: 0 / 0.8979 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.6731, allocations: 8 kB / 0.8979 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.6731, allocations: 0 / 0.8979 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.6732, allocations: 7.984 kB / 0.8979 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.6732, allocations: 0 / 0.8979 GB, free: 11.77 MB / 0.6544 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 7.264e-05/0.6733, allocations: 106.5 kB / 0.898 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.6733, allocations: 3.938 kB / 0.8981 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.6734, allocations: 66.23 kB / 0.8981 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6734, allocations: 4 kB / 0.8981 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6735, allocations: 1.75 kB / 0.8981 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6735, allocations: 0 / 0.8981 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.6736, allocations: 161.6 kB / 0.8983 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6736, allocations: 0 / 0.8983 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.6736, allocations: 8 kB / 0.8983 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.6736, allocations: 3.938 kB / 0.8983 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.6736, allocations: 0 / 0.8983 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.6736, allocations: 0 / 0.8983 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6737, allocations: 0 / 0.8983 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.6738, allocations: 77.11 kB / 0.8984 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.6739, allocations: 88.98 kB / 0.8984 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.6739, allocations: 0 / 0.8984 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.825e-05/0.6739, allocations: 7.812 kB / 0.8985 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.6739, allocations: 7.922 kB / 0.8985 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.674, allocations: 432 / 0.8985 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.674, allocations: 83.27 kB / 0.8985 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.674, allocations: 0 / 0.8985 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001842/0.6742, allocations: 16 kB / 0.8986 GB, free: 11.05 MB / 0.6544 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.0004431/0.6746, allocations: 0.6232 MB / 0.8992 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.6748, allocations: 27.86 kB / 0.8992 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6748, allocations: 4 kB / 0.8992 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.222e-05/0.6748, allocations: 12 kB / 0.8992 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.6751, allocations: 7.984 kB / 0.8992 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.6755, allocations: 151 kB / 0.8994 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.6757, allocations: 0.6768 MB / 0.9 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.528e-05/0.6758, allocations: 8 kB / 0.9 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.6758, allocations: 7.438 kB / 0.9 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6758, allocations: 0 / 0.9 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.6929, allocations: 1.398 MB / 0.9014 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.042/7.735, allocations: 4.438 kB / 0.9014 GB, free: 8.207 MB / 0.6544 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)