Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.008431/0.008431, allocations: 101 kB / 15.73 MB, free: 6.059 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.001998/0.001998, allocations: 197.3 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.8944/0.8944, allocations: 143.3 MB / 433.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 64.16 kB / 0.5953 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1985, allocations: 82.04 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002656/0.2013, allocations: 1.269 MB / 0.6767 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5943/0.7955, allocations: 132 MB / 0.8056 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.7956, allocations: 0 / 0.8056 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.7956, allocations: 3.172 kB / 0.8056 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.7957, allocations: 7.922 kB / 0.8056 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.7961, allocations: 57 kB / 0.8057 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.674e-05/0.7962, allocations: 24.5 kB / 0.8057 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.7963, allocations: 2.438 kB / 0.8057 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.7963, allocations: 11.45 kB / 0.8057 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.7964, allocations: 13.95 kB / 0.8057 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.7964, allocations: 0 / 0.8057 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 6.579e-05/0.7965, allocations: 12.95 kB / 0.8057 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.7965, allocations: 1.188 kB / 0.8057 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.7965, allocations: 14 kB / 0.8057 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.7966, allocations: 23.81 kB / 0.8058 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7966, allocations: 5.156 kB / 0.8058 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7966, allocations: 0 / 0.8058 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.7967, allocations: 0 / 0.8058 GB, free: 11.85 MB / 0.5919 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.0004552/0.7971, allocations: 340.7 kB / 0.8061 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.7972, allocations: 9.625 kB / 0.8061 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.7972, allocations: 39.78 kB / 0.8061 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.7972, allocations: 2.062 kB / 0.8061 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.7974, allocations: 163.6 kB / 0.8063 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.7975, allocations: 32.3 kB / 0.8063 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.7975, allocations: 4.094 kB / 0.8063 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.7976, allocations: 41.12 kB / 0.8064 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.7976, allocations: 5.562 kB / 0.8064 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.7976, allocations: 0 / 0.8064 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.7976, allocations: 0 / 0.8064 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.7977, allocations: 12.05 kB / 0.8064 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.7979, allocations: 159 kB / 0.8065 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.03e-05/0.798, allocations: 35.77 kB / 0.8066 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.7981, allocations: 10.58 kB / 0.8066 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.7982, allocations: 93.5 kB / 0.8067 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.7983, allocations: 39.31 kB / 0.8067 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.7983, allocations: 0 / 0.8067 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002771/0.7986, allocations: 58.39 kB / 0.8068 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.7986, allocations: 52.22 kB / 0.8068 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.435e-05/0.7987, allocations: 103.5 kB / 0.8069 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.7987, allocations: 25.7 kB / 0.8069 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.7988, allocations: 81.23 kB / 0.807 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.7988, allocations: 6.922 kB / 0.807 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.7988, allocations: 17.12 kB / 0.807 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.799, allocations: 313.4 kB / 0.8073 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.558e-05/0.799, allocations: 8.469 kB / 0.8073 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.756e-05/0.7991, allocations: 6.141 kB / 0.8073 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.89e-05/0.7992, allocations: 31.64 kB / 0.8074 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7992, allocations: 0 / 0.8074 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001263/0.7993, allocations: 55.55 kB / 0.8074 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7993, allocations: 8.938 kB / 0.8074 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.7994, allocations: 5.375 kB / 0.8074 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.7994, allocations: 0 / 0.8074 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.948e-05/0.7995, allocations: 7.094 kB / 0.8074 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7995, allocations: 1.062 kB / 0.8074 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.128e-05/0.7995, allocations: 6.281 kB / 0.8075 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.7995, allocations: 5.844 kB / 0.8075 GB, free: 10.09 MB / 0.5919 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 8.535e-05/0.7996, allocations: 111.2 kB / 0.8076 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.7996, allocations: 5.25 kB / 0.8076 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.7998, allocations: 56.97 kB / 0.8076 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.7998, allocations: 1.281 kB / 0.8076 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7998, allocations: 7.875 kB / 0.8076 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.7998, allocations: 0 / 0.8076 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.7999, allocations: 157.5 kB / 0.8078 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8, allocations: 4 kB / 0.8078 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.8, allocations: 11.12 kB / 0.8078 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.8, allocations: 5.188 kB / 0.8078 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.8, allocations: 0 / 0.8078 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8, allocations: 1.5 kB / 0.8078 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8, allocations: 0 / 0.8078 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.8002, allocations: 73.8 kB / 0.8079 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.8003, allocations: 90.38 kB / 0.808 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.8003, allocations: 1.625 kB / 0.808 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.811e-05/0.8003, allocations: 3.297 kB / 0.808 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.8004, allocations: 1.281 kB / 0.808 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.8004, allocations: 3.969 kB / 0.808 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.8004, allocations: 80.03 kB / 0.808 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8004, allocations: 3.938 kB / 0.8081 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001844/0.8006, allocations: 9.031 kB / 0.8081 GB, free: 9.488 MB / 0.5919 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.0005324/0.8011, allocations: 0.6263 MB / 0.8087 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.8013, allocations: 20.78 kB / 0.8087 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8013, allocations: 0 / 0.8087 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.8014, allocations: 14.47 kB / 0.8087 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.8016, allocations: 12.56 kB / 0.8087 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.802, allocations: 155 kB / 0.8089 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.8024, allocations: 0.6793 MB / 0.8095 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.8024, allocations: 6.562 kB / 0.8095 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.8024, allocations: 8.875 kB / 0.8095 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of SimCode: time 1.9e-07/0.8024, allocations: 0 / 0.8095 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.8248, allocations: 1.397 MB / 0.8109 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.841, allocations: 7.531 kB / 0.8109 GB, free: 7.664 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)