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.007594/0.007593, allocations: 102.2 kB / 15.73 MB, free: 6.066 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.001889/0.001889, allocations: 191.3 kB / 16.67 MB, free: 5.973 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00275/0.00275, allocations: 289.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003127/0.003127, allocations: 99.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5534/0.5566, allocations: 86.97 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002479/0.5591, allocations: 1.272 MB / 0.7672 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1799/0.739, allocations: 132 MB / 0.8961 GB, free: 14.03 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.7391, allocations: 0 / 0.8961 GB, free: 14.03 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.7391, allocations: 0 / 0.8961 GB, free: 14.03 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.765e-05/0.7392, allocations: 3.938 kB / 0.8961 GB, free: 14.02 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.7396, allocations: 63.25 kB / 0.8962 GB, free: 13.97 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.815e-05/0.7397, allocations: 23.86 kB / 0.8962 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.7397, allocations: 0 / 0.8962 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.904e-05/0.7398, allocations: 23.81 kB / 0.8962 GB, free: 13.93 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.7399, allocations: 4 kB / 0.8962 GB, free: 13.92 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.7399, allocations: 0 / 0.8962 GB, free: 13.92 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 8.408e-05/0.74, allocations: 15.98 kB / 0.8962 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.74, allocations: 3.938 kB / 0.8962 GB, free: 13.9 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.74, allocations: 4 kB / 0.8962 GB, free: 13.9 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.7402, allocations: 35.83 kB / 0.8963 GB, free: 13.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7402, allocations: 3.938 kB / 0.8963 GB, free: 13.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7402, allocations: 0 / 0.8963 GB, free: 13.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7403, allocations: 4 kB / 0.8963 GB, free: 13.86 MB / 0.67 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.0005733/0.7408, allocations: 336.8 kB / 0.8966 GB, free: 13.48 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.7409, allocations: 12.03 kB / 0.8966 GB, free: 13.47 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/0.741, allocations: 38.73 kB / 0.8966 GB, free: 13.42 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.741, allocations: 4.938 kB / 0.8966 GB, free: 13.42 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.7412, allocations: 160.4 kB / 0.8968 GB, free: 13.22 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.7414, allocations: 34.25 kB / 0.8968 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.7414, allocations: 4.375 kB / 0.8968 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.7416, allocations: 38 kB / 0.8969 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.7416, allocations: 4 kB / 0.8969 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.7416, allocations: 0 / 0.8969 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.7417, allocations: 4 kB / 0.8969 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.7418, allocations: 15.92 kB / 0.8969 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.742, allocations: 153.6 kB / 0.897 GB, free: 12.91 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.7422, allocations: 34.61 kB / 0.8971 GB, free: 12.87 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/0.7423, allocations: 8.859 kB / 0.8971 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.7425, allocations: 93.19 kB / 0.8972 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.7425, allocations: 34.5 kB / 0.8972 GB, free: 12.71 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 8.726e-06/0.7425, allocations: 0 / 0.8972 GB, free: 12.71 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0003177/0.7429, allocations: 69.55 kB / 0.8973 GB, free: 12.63 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.7429, allocations: 51.41 kB / 0.8973 GB, free: 12.57 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.7431, allocations: 97.84 kB / 0.8974 GB, free: 12.46 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.7431, allocations: 29.7 kB / 0.8974 GB, free: 12.43 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.7431, allocations: 84.14 kB / 0.8975 GB, free: 12.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.7432, allocations: 7.891 kB / 0.8975 GB, free: 12.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.7432, allocations: 13.72 kB / 0.8975 GB, free: 12.32 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.7434, allocations: 314.8 kB / 0.8978 GB, free: 12 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.7435, allocations: 11.98 kB / 0.8979 GB, free: 11.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.798e-05/0.7436, allocations: 4 kB / 0.8979 GB, free: 11.98 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.7437, allocations: 25.31 kB / 0.8979 GB, free: 11.96 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7437, allocations: 0 / 0.8979 GB, free: 11.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001921/0.7439, allocations: 61.56 kB / 0.8979 GB, free: 11.89 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.744, allocations: 7.938 kB / 0.8979 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.744, allocations: 0 / 0.8979 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.744, allocations: 4.031 kB / 0.8979 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.159e-05/0.7441, allocations: 8 kB / 0.898 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.7441, allocations: 0 / 0.898 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.7442, allocations: 0 / 0.898 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.7442, allocations: 4 kB / 0.898 GB, free: 11.87 MB / 0.67 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 0.0001199/0.7443, allocations: 116.2 kB / 0.8981 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.7444, allocations: 11.86 kB / 0.8981 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.7446, allocations: 53.12 kB / 0.8981 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.7446, allocations: 4 kB / 0.8981 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.7446, allocations: 0 / 0.8981 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.7446, allocations: 3.984 kB / 0.8981 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.7447, allocations: 149.7 kB / 0.8983 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7447, allocations: 4 kB / 0.8983 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.7448, allocations: 7.984 kB / 0.8983 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.7448, allocations: 3.938 kB / 0.8983 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.7448, allocations: 0 / 0.8983 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7448, allocations: 8 kB / 0.8983 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7448, allocations: 0 / 0.8983 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.745, allocations: 77.05 kB / 0.8984 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.178e-05/0.7451, allocations: 89 kB / 0.8985 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.7451, allocations: 4 kB / 0.8985 GB, free: 11.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.7452, allocations: 3.938 kB / 0.8985 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.7452, allocations: 7.984 kB / 0.8985 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.7453, allocations: 0 / 0.8985 GB, free: 11.23 MB / 0.67 GB Notification: Performance of sorting global known variables: time 6.025e-05/0.7453, allocations: 83.28 kB / 0.8986 GB, free: 11.15 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7453, allocations: 0 / 0.8986 GB, free: 11.15 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004255/0.7458, allocations: 11.94 kB / 0.8986 GB, free: 11.14 MB / 0.67 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.0007147/0.7465, allocations: 0.628 MB / 0.8992 GB, free: 10.48 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.7467, allocations: 19.92 kB / 0.8992 GB, free: 10.46 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7467, allocations: 0 / 0.8992 GB, free: 10.46 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 6.999e-05/0.7468, allocations: 12 kB / 0.8992 GB, free: 10.45 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.7472, allocations: 11.98 kB / 0.8992 GB, free: 10.44 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.7478, allocations: 145.4 kB / 0.8994 GB, free: 10.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.7483, allocations: 0.6806 MB / 0.9 GB, free: 9.547 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 5.065e-05/0.7483, allocations: 8 kB / 0.9 GB, free: 9.539 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.7484, allocations: 11.44 kB / 0.9 GB, free: 9.527 MB / 0.67 GB Notification: Performance of SimCode: time 3e-07/0.7484, allocations: 0 / 0.9 GB, free: 9.527 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.7759, allocations: 1.382 MB / 0.9014 GB, free: 8.293 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.572, allocations: 14.47 kB / 0.9014 GB, free: 8.285 MB / 0.67 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)