Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.328/1.328, allocations: 251.5 MB / 266.7 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 174.7 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007249/0.000725, allocations: 90.31 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003172, allocations: 12.91 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.178, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001593/0.1796, allocations: 1.226 MB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1231/0.3028, allocations: 129.9 MB / 1.024 GB, free: 420 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.3029, allocations: 8 kB / 1.024 GB, free: 412 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.3029, allocations: 3.938 kB / 1.024 GB, free: 408 kB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 6.126e-05/0.303, allocations: 11.91 kB / 1.024 GB, free: 396 kB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.3033, allocations: 51.8 kB / 1.024 GB, free: 344 kB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 7.524e-05/0.3034, allocations: 55.78 kB / 1.024 GB, free: 288 kB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 7.838e-05/0.3035, allocations: 8 kB / 1.024 GB, free: 280 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.3035, allocations: 19.92 kB / 1.024 GB, free: 260 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.3036, allocations: 31.84 kB / 1.024 GB, free: 228 kB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.3036, allocations: 0 / 1.024 GB, free: 228 kB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.3037, allocations: 15.98 kB / 1.024 GB, free: 212 kB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.3037, allocations: 8 kB / 1.024 GB, free: 204 kB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.3037, allocations: 19.86 kB / 1.025 GB, free: 184 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.3038, allocations: 43.88 kB / 1.025 GB, free: 140 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3039, allocations: 4 kB / 1.025 GB, free: 136 kB / 0.6667 GB Notification: Performance of FrontEnd: time 2.514e-06/0.3039, allocations: 0 / 1.025 GB, free: 136 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.3039, allocations: 3.938 kB / 1.025 GB, free: 132 kB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004914/0.3044, allocations: 383.3 kB / 1.025 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3044, allocations: 12.03 kB / 1.025 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.3045, allocations: 34.75 kB / 1.025 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.3045, allocations: 4.844 kB / 1.025 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.3046, allocations: 176.3 kB / 1.025 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.3046, allocations: 4.375 kB / 1.025 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.3046, allocations: 4.375 kB / 1.025 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.3049, allocations: 82.22 kB / 1.025 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.3049, allocations: 3.938 kB / 1.025 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3049, allocations: 4 kB / 1.025 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3049, allocations: 0 / 1.025 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.3052, allocations: 91.92 kB / 1.025 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.3056, allocations: 296.6 kB / 1.026 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.3058, allocations: 66.53 kB / 1.026 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.3059, allocations: 44.92 kB / 1.026 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.3061, allocations: 89.09 kB / 1.026 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.3061, allocations: 42.56 kB / 1.026 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3061, allocations: 0 / 1.026 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005207/0.3066, allocations: 165.4 kB / 1.026 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.3067, allocations: 51.41 kB / 1.026 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.3068, allocations: 125.7 kB / 1.026 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.3068, allocations: 25.7 kB / 1.026 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.3068, allocations: 92.12 kB / 1.026 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.3069, allocations: 3.906 kB / 1.026 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.3069, allocations: 9.719 kB / 1.026 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.307, allocations: 322.8 kB / 1.027 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.3071, allocations: 43.95 kB / 1.027 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.3073, allocations: 39.97 kB / 1.027 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.3075, allocations: 97.05 kB / 1.027 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3076, allocations: 0 / 1.027 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002996/0.3079, allocations: 125.5 kB / 1.027 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.3079, allocations: 11.94 kB / 1.027 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3079, allocations: 0 / 1.027 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.3079, allocations: 4 kB / 1.027 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.308, allocations: 19.97 kB / 1.027 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.308, allocations: 4 kB / 1.027 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/0.3081, allocations: 15.98 kB / 1.027 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3081, allocations: 4 kB / 1.027 GB, free: 13.43 MB / 0.6823 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.666e-05/0.3082, allocations: 121.7 kB / 1.027 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.3082, allocations: 7.906 kB / 1.027 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003459/0.3086, allocations: 133.5 kB / 1.027 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3086, allocations: 0 / 1.027 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3086, allocations: 0 / 1.027 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3086, allocations: 3.984 kB / 1.027 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.3088, allocations: 173.7 kB / 1.027 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3088, allocations: 0 / 1.027 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.782e-05/0.3089, allocations: 27.97 kB / 1.027 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3089, allocations: 0 / 1.027 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.3089, allocations: 4 kB / 1.027 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3089, allocations: 0 / 1.027 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3089, allocations: 0 / 1.027 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.3093, allocations: 215.4 kB / 1.028 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.3093, allocations: 81.02 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3094, allocations: 15.92 kB / 1.028 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3095, allocations: 15.98 kB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.3095, allocations: 0 / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.3095, allocations: 0 / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.625e-05/0.3096, allocations: 99.7 kB / 1.028 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3096, allocations: 0 / 1.028 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001991/0.3098, allocations: 12 kB / 1.028 GB, free: 12.43 MB / 0.6823 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.0006218/0.3104, allocations: 0.767 MB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003092/0.3107, allocations: 91.86 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3107, allocations: 4 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.3109, allocations: 47.91 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.3112, allocations: 16.31 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.3128, allocations: 1.479 MB / 1.03 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.3131, allocations: 0.6848 MB / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.3131, allocations: 4 kB / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.3132, allocations: 19.42 kB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/0.3132, allocations: 192 / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3019/0.6151, allocations: 1.739 MB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.6153, allocations: 224.1 kB / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.384, allocations: 0 / 1.033 GB, free: 7.344 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)