Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 288.4 MB / 303.3 MB, free: 8.062 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.001005/0.001005, allocations: 168.6 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 90.3 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004017, allocations: 10.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2421, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001945/0.2441, allocations: 1.207 MB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.813/1.057, allocations: 119.6 MB / 1.098 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/1.057, allocations: 2.547 kB / 1.098 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/1.057, allocations: 3.062 kB / 1.098 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.307e-05/1.057, allocations: 13.16 kB / 1.098 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/1.058, allocations: 50.58 kB / 1.098 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/1.058, allocations: 49.89 kB / 1.098 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/1.058, allocations: 14.27 kB / 1.098 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/1.058, allocations: 18.94 kB / 1.098 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/1.058, allocations: 19.14 kB / 1.098 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/1.058, allocations: 2.5 kB / 1.098 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/1.058, allocations: 18.84 kB / 1.098 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/1.058, allocations: 11.44 kB / 1.098 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/1.058, allocations: 28.83 kB / 1.098 GB, free: 18.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/1.059, allocations: 37.2 kB / 1.098 GB, free: 18.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.059, allocations: 0 / 1.098 GB, free: 18.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.544e-06/1.059, allocations: 0.875 kB / 1.098 GB, free: 18.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.059, allocations: 0 / 1.098 GB, free: 18.43 MB / 0.698 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.0006291/1.059, allocations: 382.7 kB / 1.098 GB, free: 18.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/1.059, allocations: 14.05 kB / 1.098 GB, free: 18.06 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/1.059, allocations: 41.53 kB / 1.098 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/1.059, allocations: 6.938 kB / 1.098 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/1.06, allocations: 165.1 kB / 1.098 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/1.06, allocations: 1.938 kB / 1.098 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/1.06, allocations: 1.594 kB / 1.098 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/1.06, allocations: 92.33 kB / 1.099 GB, free: 17.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.06, allocations: 0.6562 kB / 1.099 GB, free: 17.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.06, allocations: 0.875 kB / 1.099 GB, free: 17.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.06, allocations: 0.6562 kB / 1.099 GB, free: 17.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/1.06, allocations: 92.86 kB / 1.099 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/1.061, allocations: 288.5 kB / 1.099 GB, free: 17.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/1.061, allocations: 69.3 kB / 1.099 GB, free: 17.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/1.061, allocations: 51.66 kB / 1.099 GB, free: 17.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/1.061, allocations: 91.86 kB / 1.099 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/1.061, allocations: 35.72 kB / 1.099 GB, free: 17.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/1.061, allocations: 3.938 kB / 1.099 GB, free: 17.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005815/1.062, allocations: 171.3 kB / 1.099 GB, free: 17.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/1.062, allocations: 52.31 kB / 1.099 GB, free: 17.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.94e-05/1.062, allocations: 117.4 kB / 1.099 GB, free: 17.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/1.062, allocations: 25.7 kB / 1.1 GB, free: 17.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/1.062, allocations: 92.86 kB / 1.1 GB, free: 16.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/1.062, allocations: 7.281 kB / 1.1 GB, free: 16.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-06/1.062, allocations: 0 / 1.1 GB, free: 16.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.062, allocations: 319.2 kB / 1.1 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/1.062, allocations: 39.25 kB / 1.1 GB, free: 16.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/1.063, allocations: 43.97 kB / 1.1 GB, free: 16.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/1.063, allocations: 49.41 kB / 1.1 GB, free: 16.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.063, allocations: 1.312 kB / 1.1 GB, free: 16.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003494/1.063, allocations: 125.2 kB / 1.1 GB, free: 16.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.063, allocations: 6.375 kB / 1.1 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.063, allocations: 1.375 kB / 1.1 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.063, allocations: 0 / 1.1 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/1.063, allocations: 19.81 kB / 1.1 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/1.063, allocations: 4.922 kB / 1.1 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.4e-05/1.063, allocations: 20.52 kB / 1.1 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/1.063, allocations: 3.609 kB / 1.1 GB, free: 16.62 MB / 0.698 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 0.0001047/1.064, allocations: 113.3 kB / 1.1 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/1.064, allocations: 6.125 kB / 1.1 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000395/1.064, allocations: 129.6 kB / 1.1 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.064, allocations: 1.094 kB / 1.1 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/1.064, allocations: 0 / 1.1 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.064, allocations: 11.41 kB / 1.1 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/1.064, allocations: 169.9 kB / 1.101 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.064, allocations: 1.859 kB / 1.101 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/1.064, allocations: 23.06 kB / 1.101 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.064, allocations: 0 / 1.101 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/1.064, allocations: 4.969 kB / 1.101 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.064, allocations: 0 / 1.101 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.064, allocations: 1.906 kB / 1.101 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/1.065, allocations: 222.5 kB / 1.101 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/1.065, allocations: 87.66 kB / 1.101 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/1.065, allocations: 3.625 kB / 1.101 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/1.065, allocations: 14.86 kB / 1.101 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/1.065, allocations: 4.812 kB / 1.101 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/1.065, allocations: 4.031 kB / 1.101 GB, free: 16.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.563e-05/1.065, allocations: 93.56 kB / 1.101 GB, free: 15.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.192e-06/1.065, allocations: 1.062 kB / 1.101 GB, free: 15.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002171/1.065, allocations: 17.19 kB / 1.101 GB, free: 15.93 MB / 0.698 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.0007618/1.066, allocations: 0.7621 MB / 1.102 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003704/1.066, allocations: 96.33 kB / 1.102 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/1.067, allocations: 0 / 1.102 GB, free: 15.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/1.067, allocations: 47.88 kB / 1.102 GB, free: 15.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/1.067, allocations: 9.938 kB / 1.102 GB, free: 15.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/1.068, allocations: 0.5813 MB / 1.103 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/1.069, allocations: 0.6815 MB / 1.103 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.126e-05/1.069, allocations: 2.125 kB / 1.103 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/1.069, allocations: 18.69 kB / 1.103 GB, free: 14.19 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/1.069, allocations: 0 / 1.103 GB, free: 14.19 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/1.083, allocations: 1.717 MB / 1.105 GB, free: 14.02 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/1.083, allocations: 209.9 kB / 1.105 GB, free: 13.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.732, allocations: 0 / 1.105 GB, free: 13.77 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)