Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.69/2.69, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 168.9 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00165/0.00165, allocations: 100.5 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.309e-05, allocations: 4 kB / 0.8508 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.838, allocations: 115.2 MB / 0.9634 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2927/1.131, allocations: 164.2 MB / 1.124 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/1.131, allocations: 75.95 kB / 1.124 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008995/1.14, allocations: 2.14 MB / 1.126 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.793e-06/1.14, allocations: 0 / 1.126 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.14, allocations: 3.5 kB / 1.126 GB, free: 6.016 MB / 0.7292 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.0006578/1.141, allocations: 370.3 kB / 1.126 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/1.141, allocations: 12.03 kB / 1.126 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/1.141, allocations: 11.7 kB / 1.126 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/1.141, allocations: 167 kB / 1.126 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/1.141, allocations: 6.734 kB / 1.126 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/1.141, allocations: 0 / 1.126 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001355/1.141, allocations: 23.94 kB / 1.127 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/1.141, allocations: 45.69 kB / 1.127 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/1.142, allocations: 0 / 1.127 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/1.142, allocations: 0 / 1.127 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.142, allocations: 3.953 kB / 1.127 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/1.142, allocations: 257.4 kB / 1.127 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/1.142, allocations: 34.52 kB / 1.127 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/1.142, allocations: 12.86 kB / 1.127 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/1.142, allocations: 89.19 kB / 1.127 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/1.143, allocations: 42.56 kB / 1.127 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/1.143, allocations: 0 / 1.127 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.000287/1.143, allocations: 53.55 kB / 1.127 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/1.143, allocations: 55.41 kB / 1.127 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/1.143, allocations: 97 kB / 1.127 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/1.143, allocations: 25.7 kB / 1.127 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/1.143, allocations: 92.06 kB / 1.127 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/1.143, allocations: 15.81 kB / 1.127 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/1.143, allocations: 3.938 kB / 1.127 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.143, allocations: 318.8 kB / 1.128 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/1.143, allocations: 8 kB / 1.128 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/1.143, allocations: 12 kB / 1.128 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.056e-05/1.143, allocations: 4 kB / 1.128 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.143, allocations: 5.344 kB / 1.128 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001649/1.144, allocations: 53.69 kB / 1.128 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.144, allocations: 8.781 kB / 1.128 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.144, allocations: 0 / 1.128 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.144, allocations: 0 / 1.128 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/1.144, allocations: 31.92 kB / 1.128 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/1.144, allocations: 0 / 1.128 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/1.144, allocations: 15.98 kB / 1.128 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/1.144, allocations: 0 / 1.128 GB, free: 3.969 MB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/1.144, allocations: 108.8 kB / 1.128 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002401/1.145, allocations: 64.72 kB / 1.128 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/1.145, allocations: 8.031 kB / 1.128 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/1.145, allocations: 65.97 kB / 1.128 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.145, allocations: 0 / 1.128 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.145, allocations: 0 / 1.128 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.145, allocations: 0.9375 kB / 1.128 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/1.145, allocations: 150.2 kB / 1.128 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.145, allocations: 0 / 1.128 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/1.145, allocations: 23.98 kB / 1.128 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.145, allocations: 3.938 kB / 1.128 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/1.145, allocations: 0 / 1.128 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.145, allocations: 0 / 1.128 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.145, allocations: 7.953 kB / 1.128 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/1.146, allocations: 154.1 kB / 1.128 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/1.146, allocations: 77.11 kB / 1.128 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/1.146, allocations: 0.6562 kB / 1.128 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/1.146, allocations: 19.98 kB / 1.128 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/1.146, allocations: 11.94 kB / 1.128 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/1.146, allocations: 0 / 1.128 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.756e-05/1.146, allocations: 90.28 kB / 1.129 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.21e-07/1.146, allocations: 0 / 1.129 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003242/1.146, allocations: 19.94 kB / 1.129 GB, free: 3.09 MB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007001/1.147, allocations: 0.7241 MB / 1.129 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001395/1.147, allocations: 23.98 kB / 1.129 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.147, allocations: 0 / 1.129 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.445e-05/1.147, allocations: 12 kB / 1.129 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/1.148, allocations: 13.83 kB / 1.129 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/1.148, allocations: 113.5 kB / 1.129 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/1.148, allocations: 0.6859 MB / 1.13 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.804e-05/1.149, allocations: 4 kB / 1.13 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/1.149, allocations: 15.44 kB / 1.13 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of SimCode: time 1.143e-06/1.149, allocations: 0 / 1.13 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/1.189, allocations: 1.534 MB / 1.132 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003177/1.189, allocations: 150.3 kB / 1.132 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/3.693, allocations: 0 / 1.132 GB, free: 15.74 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)