Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_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.001199/0.001199, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001337/0.001337, allocations: 195.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 292.3 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 71.66 kB / 0.6709 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2278, allocations: 114.5 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002508/0.2303, allocations: 1.557 MB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.13/0.3604, allocations: 129.9 MB / 0.9112 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.3604, allocations: 0 / 0.9112 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.3605, allocations: 0 / 0.9112 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.439e-05/0.3606, allocations: 11.92 kB / 0.9112 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.361, allocations: 60 kB / 0.9113 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.3611, allocations: 47.8 kB / 0.9113 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/0.3612, allocations: 19.98 kB / 0.9113 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.971e-05/0.3613, allocations: 19.75 kB / 0.9113 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.3613, allocations: 27.84 kB / 0.9114 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3614, allocations: 4 kB / 0.9114 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.3614, allocations: 15.98 kB / 0.9114 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.3615, allocations: 8 kB / 0.9114 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.3615, allocations: 19.86 kB / 0.9114 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3616, allocations: 55.75 kB / 0.9115 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3617, allocations: 4 kB / 0.9115 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3617, allocations: 0 / 0.9115 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.3617, allocations: 0 / 0.9115 GB, free: 9.672 MB / 0.7325 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.0005099/0.3622, allocations: 375.3 kB / 0.9118 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3622, allocations: 8.031 kB / 0.9118 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.3623, allocations: 34.73 kB / 0.9119 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.3623, allocations: 8.844 kB / 0.9119 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3624, allocations: 176.3 kB / 0.912 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3625, allocations: 8.312 kB / 0.9121 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.3625, allocations: 4.375 kB / 0.9121 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.3627, allocations: 74.2 kB / 0.9121 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3628, allocations: 3.938 kB / 0.9121 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3628, allocations: 0 / 0.9121 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3628, allocations: 0 / 0.9121 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.3631, allocations: 67.92 kB / 0.9122 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.3635, allocations: 292.6 kB / 0.9125 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.3637, allocations: 54.55 kB / 0.9125 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.3638, allocations: 44.91 kB / 0.9126 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/0.364, allocations: 89.09 kB / 0.9127 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.3641, allocations: 34.56 kB / 0.9127 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 4.208e-06/0.3641, allocations: 3.984 kB / 0.9127 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005252/0.3646, allocations: 133.4 kB / 0.9128 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.3647, allocations: 51.41 kB / 0.9129 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3648, allocations: 125.8 kB / 0.913 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3648, allocations: 25.7 kB / 0.913 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.3649, allocations: 88.14 kB / 0.9131 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3649, allocations: 7.906 kB / 0.9131 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.3649, allocations: 21.7 kB / 0.9131 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3651, allocations: 318.8 kB / 0.9134 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3652, allocations: 27.97 kB / 0.9135 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.3654, allocations: 35.95 kB / 0.9135 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.3656, allocations: 80.66 kB / 0.9136 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3657, allocations: 0 / 0.9136 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002979/0.366, allocations: 97.53 kB / 0.9137 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.366, allocations: 4 kB / 0.9137 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.366, allocations: 3.984 kB / 0.9137 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.366, allocations: 8 kB / 0.9137 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3661, allocations: 15.98 kB / 0.9137 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3661, allocations: 0 / 0.9137 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.764e-05/0.3662, allocations: 15.97 kB / 0.9137 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.3663, allocations: 0 / 0.9137 GB, free: 7.125 MB / 0.7325 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.991e-05/0.3663, allocations: 121.7 kB / 0.9138 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.3664, allocations: 3.906 kB / 0.9138 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003547/0.3667, allocations: 113.5 kB / 0.9139 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3667, allocations: 0 / 0.9139 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3667, allocations: 4 kB / 0.9139 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3668, allocations: 0 / 0.9139 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.3669, allocations: 177.6 kB / 0.9141 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.367, allocations: 0 / 0.9141 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.265e-05/0.3671, allocations: 15.98 kB / 0.9141 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3671, allocations: 4 kB / 0.9141 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3671, allocations: 0 / 0.9141 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3671, allocations: 0 / 0.9141 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3671, allocations: 0 / 0.9141 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.3675, allocations: 195.3 kB / 0.9143 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.3675, allocations: 93.02 kB / 0.9144 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.3676, allocations: 0 / 0.9144 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3677, allocations: 11.98 kB / 0.9144 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.3677, allocations: 4.406 kB / 0.9144 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.3677, allocations: 4 kB / 0.9144 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.3678, allocations: 91.27 kB / 0.9145 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3678, allocations: 0 / 0.9145 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002371/0.368, allocations: 19.94 kB / 0.9145 GB, free: 6.176 MB / 0.7325 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.0006317/0.3687, allocations: 0.7475 MB / 0.9153 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.369, allocations: 71.92 kB / 0.9153 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.369, allocations: 0 / 0.9153 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.3691, allocations: 31.97 kB / 0.9154 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3695, allocations: 16.7 kB / 0.9154 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.3713, allocations: 1.435 MB / 0.9168 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.3716, allocations: 0.6809 MB / 0.9174 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.179e-05/0.3717, allocations: 4 kB / 0.9174 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.3717, allocations: 11.44 kB / 0.9175 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3717, allocations: 0 / 0.9175 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.3838, allocations: 1.792 MB / 0.9192 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/0.3841, allocations: 211.6 kB / 0.9194 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.007, allocations: 0 / 0.9194 GB, free: 1.105 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)