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.001119/0.001124, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 187.3 kB / 16.62 MB, free: 6.613 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.332/1.332, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.665/1.665, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001355/0.001355, allocations: 66.97 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1987, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002484/0.2012, allocations: 1.492 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5188/0.7201, allocations: 132.1 MB / 0.914 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.961e-05/0.7202, allocations: 4 kB / 0.914 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.861e-05/0.7202, allocations: 4.859 kB / 0.9141 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.7204, allocations: 14.39 kB / 0.9141 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.7208, allocations: 66.45 kB / 0.9141 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.7209, allocations: 54.97 kB / 0.9142 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.7211, allocations: 13.08 kB / 0.9142 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/0.7211, allocations: 23.88 kB / 0.9142 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.7212, allocations: 30.06 kB / 0.9142 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.7212, allocations: 4 kB / 0.9142 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.384e-05/0.7213, allocations: 18.75 kB / 0.9143 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.7213, allocations: 10.38 kB / 0.9143 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.979e-05/0.7214, allocations: 23.08 kB / 0.9143 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.7216, allocations: 60.09 kB / 0.9144 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7216, allocations: 0 / 0.9144 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7216, allocations: 0.9375 kB / 0.9144 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7216, allocations: 0 / 0.9144 GB, free: 5.625 MB / 0.7169 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.0007968/0.7224, allocations: 381.1 kB / 0.9147 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.7224, allocations: 9.922 kB / 0.9147 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.7225, allocations: 33.03 kB / 0.9148 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.7225, allocations: 8.781 kB / 0.9148 GB, free: 21.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.7226, allocations: 176.2 kB / 0.9149 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.7227, allocations: 5.031 kB / 0.9149 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.7227, allocations: 3 kB / 0.9149 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.7229, allocations: 81.7 kB / 0.915 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.723, allocations: 3.938 kB / 0.915 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.723, allocations: 1.031 kB / 0.915 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.723, allocations: 1.031 kB / 0.915 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.7233, allocations: 70.09 kB / 0.9151 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.7237, allocations: 287.8 kB / 0.9154 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.7239, allocations: 51.62 kB / 0.9154 GB, free: 20.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.724, allocations: 43.56 kB / 0.9155 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.7242, allocations: 88.67 kB / 0.9155 GB, free: 20.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.7242, allocations: 35.56 kB / 0.9156 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7242, allocations: 0 / 0.9156 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005294/0.7247, allocations: 128.4 kB / 0.9157 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.7248, allocations: 56.41 kB / 0.9158 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.7249, allocations: 118.2 kB / 0.9159 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.7249, allocations: 26.67 kB / 0.9159 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.725, allocations: 91.56 kB / 0.916 GB, free: 20.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.725, allocations: 10.67 kB / 0.916 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.725, allocations: 13.03 kB / 0.916 GB, free: 20.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.7251, allocations: 321.3 kB / 0.9163 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.7253, allocations: 34.89 kB / 0.9163 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.7254, allocations: 35.55 kB / 0.9164 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.7257, allocations: 66.83 kB / 0.9164 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7257, allocations: 2.141 kB / 0.9164 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003353/0.7261, allocations: 100.6 kB / 0.9165 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.7261, allocations: 6.578 kB / 0.9165 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.7261, allocations: 0 / 0.9165 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.7261, allocations: 1.609 kB / 0.9165 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.7263, allocations: 15.17 kB / 0.9166 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.7263, allocations: 1 kB / 0.9166 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.49e-05/0.7264, allocations: 23.02 kB / 0.9166 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.7264, allocations: 5.219 kB / 0.9166 GB, free: 19.82 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 8.996e-05/0.7265, allocations: 113.3 kB / 0.9167 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.7266, allocations: 2.094 kB / 0.9167 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004166/0.727, allocations: 110.2 kB / 0.9168 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.727, allocations: 1 kB / 0.9168 GB, free: 19.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.727, allocations: 8.5 kB / 0.9168 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.727, allocations: 0.9375 kB / 0.9168 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.7272, allocations: 177 kB / 0.917 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7272, allocations: 0.7031 kB / 0.917 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.579e-05/0.7273, allocations: 17.73 kB / 0.917 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7273, allocations: 0.5625 kB / 0.917 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.7273, allocations: 0.8438 kB / 0.917 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.7273, allocations: 0.5156 kB / 0.917 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7273, allocations: 0.5625 kB / 0.917 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.7277, allocations: 206.8 kB / 0.9172 GB, free: 19.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.7278, allocations: 83.28 kB / 0.9173 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.7278, allocations: 2.734 kB / 0.9173 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.7279, allocations: 15.97 kB / 0.9173 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.728, allocations: 9 kB / 0.9173 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.728, allocations: 1.312 kB / 0.9173 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.747e-05/0.728, allocations: 95.33 kB / 0.9174 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7281, allocations: 1.203 kB / 0.9174 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002303/0.7283, allocations: 16.97 kB / 0.9174 GB, free: 19.15 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.0007039/0.729, allocations: 0.7365 MB / 0.9181 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003467/0.7294, allocations: 67.16 kB / 0.9182 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7294, allocations: 0.9062 kB / 0.9182 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.7295, allocations: 39.59 kB / 0.9182 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.7299, allocations: 19.31 kB / 0.9183 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.7317, allocations: 1.434 MB / 0.9197 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.7319, allocations: 0.6857 MB / 0.9203 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.665e-05/0.732, allocations: 3.047 kB / 0.9203 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.732, allocations: 15.45 kB / 0.9203 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.732, allocations: 4 kB / 0.9203 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.7487, allocations: 2.053 MB / 0.9224 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/8.105, allocations: 11.31 kB / 0.9224 GB, free: 16.21 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)