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.0008255/0.0008253, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008737/0.0008737, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.756/1.756, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005348/0.0005349, allocations: 18.62 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3063, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002016/0.3084, allocations: 1.203 MB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1773/0.4857, allocations: 119.7 MB / 0.9054 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.4858, allocations: 0 / 0.9054 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.4858, allocations: 0 / 0.9054 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.4859, allocations: 11.92 kB / 0.9054 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.4863, allocations: 55.78 kB / 0.9055 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.901e-05/0.4864, allocations: 47.8 kB / 0.9055 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.4865, allocations: 12.27 kB / 0.9055 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.4866, allocations: 19.92 kB / 0.9056 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.4866, allocations: 23.86 kB / 0.9056 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.4867, allocations: 0 / 0.9056 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.4868, allocations: 15.98 kB / 0.9056 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.4868, allocations: 7.938 kB / 0.9056 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.4869, allocations: 33.7 kB / 0.9056 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.487, allocations: 47.86 kB / 0.9057 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.487, allocations: 0 / 0.9057 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.487, allocations: 0 / 0.9057 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.487, allocations: 0 / 0.9057 GB, free: 2.355 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.0006685/0.4877, allocations: 379.2 kB / 0.906 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.4878, allocations: 8.031 kB / 0.906 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.502e-05/0.4878, allocations: 30.56 kB / 0.9061 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.4879, allocations: 11.84 kB / 0.9061 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.4881, allocations: 171 kB / 0.9062 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.4881, allocations: 0 / 0.9062 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.4881, allocations: 8 kB / 0.9063 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.4884, allocations: 85.64 kB / 0.9063 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4884, allocations: 0 / 0.9063 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4885, allocations: 0 / 0.9063 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4885, allocations: 4 kB / 0.9063 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.4888, allocations: 91.86 kB / 0.9064 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.4892, allocations: 284.7 kB / 0.9067 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.4894, allocations: 78.47 kB / 0.9068 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.4896, allocations: 48.92 kB / 0.9068 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.4898, allocations: 89.09 kB / 0.9069 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.4898, allocations: 34.5 kB / 0.9069 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4898, allocations: 0 / 0.9069 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005275/0.4903, allocations: 173.4 kB / 0.9071 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.4904, allocations: 51.41 kB / 0.9072 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4905, allocations: 117.8 kB / 0.9073 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.4905, allocations: 25.7 kB / 0.9073 GB, free: 484 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.4906, allocations: 88.14 kB / 0.9074 GB, free: 392 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.4906, allocations: 15.83 kB / 0.9074 GB, free: 376 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.4907, allocations: 4 kB / 0.9074 GB, free: 372 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4908, allocations: 314.8 kB / 0.9077 GB, free: 48 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.491, allocations: 43.95 kB / 0.9077 GB, free: 4 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.664/1.155, allocations: 35.25 kB / 0.9078 GB, free: 128 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/1.155, allocations: 43.47 kB / 0.9078 GB, free: 128 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.155, allocations: 4.094 kB / 0.9078 GB, free: 128 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004147/1.156, allocations: 121.2 kB / 0.9079 GB, free: 128 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/1.156, allocations: 6.984 kB / 0.9079 GB, free: 128 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.156, allocations: 1 kB / 0.9079 GB, free: 128 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/1.156, allocations: 0 / 0.9079 GB, free: 128 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/1.156, allocations: 25.86 kB / 0.908 GB, free: 128 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.156, allocations: 2.5 kB / 0.908 GB, free: 128 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.4e-05/1.156, allocations: 20.14 kB / 0.908 GB, free: 128 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/1.156, allocations: 1.344 kB / 0.908 GB, free: 128 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.978e-05/1.156, allocations: 118.1 kB / 0.9081 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/1.156, allocations: 2.594 kB / 0.9081 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/1.157, allocations: 140.8 kB / 0.9082 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.157, allocations: 0 / 0.9082 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.157, allocations: 5.438 kB / 0.9082 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.157, allocations: 0 / 0.9082 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/1.157, allocations: 167.9 kB / 0.9084 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.157, allocations: 0.7031 kB / 0.9084 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.946e-05/1.157, allocations: 25.08 kB / 0.9084 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/1.157, allocations: 0.625 kB / 0.9084 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/1.157, allocations: 3.062 kB / 0.9084 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.157, allocations: 3.953 kB / 0.9084 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.157, allocations: 1.672 kB / 0.9084 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/1.158, allocations: 222.7 kB / 0.9086 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/1.158, allocations: 81.92 kB / 0.9087 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/1.158, allocations: 2.141 kB / 0.9087 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/1.158, allocations: 17.11 kB / 0.9087 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/1.158, allocations: 9.625 kB / 0.9088 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/1.158, allocations: 5.203 kB / 0.9088 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.011e-05/1.158, allocations: 95.8 kB / 0.9088 GB, free: 127.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.158, allocations: 0 / 0.9088 GB, free: 127.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002446/1.158, allocations: 13.75 kB / 0.9089 GB, free: 127.3 MB / 0.7169 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 (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.0006739/1.159, allocations: 0.7608 MB / 0.9096 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003764/1.159, allocations: 90.95 kB / 0.9097 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.159, allocations: 4 kB / 0.9097 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/1.159, allocations: 45.38 kB / 0.9097 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/1.16, allocations: 14.12 kB / 0.9098 GB, free: 126.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/1.161, allocations: 0.5704 MB / 0.9103 GB, free: 126.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/1.161, allocations: 0.6823 MB / 0.911 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.778e-05/1.161, allocations: 3.688 kB / 0.911 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/1.161, allocations: 17.22 kB / 0.911 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.433e-06/1.161, allocations: 3.938 kB / 0.911 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/1.176, allocations: 1.708 MB / 0.9127 GB, free: 125.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/1.176, allocations: 193.2 kB / 0.9128 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/3.143, allocations: 0 / 0.9128 GB, free: 125.2 MB / 0.7169 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/linux/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) Environment - environmentSimulation: