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 1.721/1.721, allocations: 287.4 MB / 302.6 MB, free: 8.18 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.001624/0.001624, allocations: 186.8 kB / 371.1 MB, free: 10.83 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.681/1.681, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0008843/0.0008843, allocations: 96.55 kB / 0.7431 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 11.72 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1825, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001341/0.1839, allocations: 1.203 MB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5201/0.7041, allocations: 119.6 MB / 1.097 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.7042, allocations: 0.8438 kB / 1.097 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.7043, allocations: 7.938 kB / 1.097 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.7043, allocations: 11.02 kB / 1.097 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.7047, allocations: 51.89 kB / 1.097 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.296e-05/0.7048, allocations: 48.2 kB / 1.097 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.7049, allocations: 16.09 kB / 1.097 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.306e-05/0.7049, allocations: 17.94 kB / 1.097 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.056e-05/0.705, allocations: 26.52 kB / 1.097 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.705, allocations: 2.188 kB / 1.097 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.633e-05/0.7051, allocations: 13.25 kB / 1.097 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.7051, allocations: 11.38 kB / 1.097 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.7053, allocations: 28.73 kB / 1.097 GB, free: 18.22 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.7054, allocations: 42.17 kB / 1.097 GB, free: 18.22 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7054, allocations: 0 / 1.097 GB, free: 18.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7054, allocations: 0.8438 kB / 1.097 GB, free: 18.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.7054, allocations: 0 / 1.097 GB, free: 18.22 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.0004833/0.7059, allocations: 379.4 kB / 1.097 GB, free: 17.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.706, allocations: 10.42 kB / 1.097 GB, free: 17.85 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.242e-05/0.706, allocations: 32.47 kB / 1.097 GB, free: 17.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.706, allocations: 10.62 kB / 1.097 GB, free: 17.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.7061, allocations: 172.7 kB / 1.098 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.7062, allocations: 4.109 kB / 1.098 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.7062, allocations: 6.5 kB / 1.098 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.7064, allocations: 81.34 kB / 1.098 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.7065, allocations: 5.625 kB / 1.098 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.7065, allocations: 3.625 kB / 1.098 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7065, allocations: 1.031 kB / 1.098 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.7068, allocations: 87.62 kB / 1.098 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.7072, allocations: 293.7 kB / 1.098 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.7074, allocations: 71.36 kB / 1.098 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.7076, allocations: 47.2 kB / 1.098 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.7077, allocations: 90.16 kB / 1.098 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.7078, allocations: 35.84 kB / 1.098 GB, free: 17.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7078, allocations: 0 / 1.098 GB, free: 17.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005652/0.7083, allocations: 168.5 kB / 1.098 GB, free: 17.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.7084, allocations: 51.41 kB / 1.098 GB, free: 17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.7085, allocations: 117.5 kB / 1.099 GB, free: 16.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.7085, allocations: 29.7 kB / 1.099 GB, free: 16.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.7086, allocations: 89.94 kB / 1.099 GB, free: 16.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.7086, allocations: 18.48 kB / 1.099 GB, free: 16.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.7086, allocations: 0 / 1.099 GB, free: 16.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.7087, allocations: 316.6 kB / 1.099 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.7088, allocations: 49.22 kB / 1.099 GB, free: 16.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.709, allocations: 40.83 kB / 1.099 GB, free: 16.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.7093, allocations: 92.12 kB / 1.099 GB, free: 16.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7093, allocations: 0 / 1.099 GB, free: 16.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003233/0.7096, allocations: 123.6 kB / 1.099 GB, free: 16.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.7096, allocations: 6.844 kB / 1.099 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7096, allocations: 4 kB / 1.099 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.7097, allocations: 0 / 1.099 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.7098, allocations: 24.09 kB / 1.099 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.7098, allocations: 1.406 kB / 1.099 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.962e-05/0.7099, allocations: 16 kB / 1.099 GB, free: 16.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-06/0.7099, allocations: 7.141 kB / 1.099 GB, free: 16.39 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 8.28e-05/0.71, allocations: 119.7 kB / 1.099 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.71, allocations: 10.44 kB / 1.099 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003619/0.7104, allocations: 129.5 kB / 1.1 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.7104, allocations: 1 kB / 1.1 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.7104, allocations: 1 kB / 1.1 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.7104, allocations: 0 / 1.1 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.7106, allocations: 178 kB / 1.1 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7106, allocations: 1.688 kB / 1.1 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.574e-05/0.7107, allocations: 24.98 kB / 1.1 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7107, allocations: 0 / 1.1 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.7107, allocations: 0.9375 kB / 1.1 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7107, allocations: 0 / 1.1 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7107, allocations: 1.156 kB / 1.1 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.7111, allocations: 226.4 kB / 1.1 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.7111, allocations: 81.58 kB / 1.1 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.7112, allocations: 5.031 kB / 1.1 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.7113, allocations: 17.2 kB / 1.1 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.7113, allocations: 4.578 kB / 1.1 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.7113, allocations: 2.094 kB / 1.1 GB, free: 15.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.561e-05/0.7114, allocations: 94.84 kB / 1.1 GB, free: 15.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7114, allocations: 0 / 1.1 GB, free: 15.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002096/0.7116, allocations: 12.09 kB / 1.1 GB, free: 15.71 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.0006278/0.7122, allocations: 0.7637 MB / 1.101 GB, free: 15.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000328/0.7126, allocations: 93.92 kB / 1.101 GB, free: 15.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7126, allocations: 1.25 kB / 1.101 GB, free: 15.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.7127, allocations: 55.66 kB / 1.101 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.713, allocations: 7.094 kB / 1.101 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.714, allocations: 0.5714 MB / 1.102 GB, free: 14.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.7143, allocations: 0.6838 MB / 1.102 GB, free: 13.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.7143, allocations: 10.42 kB / 1.102 GB, free: 13.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.7144, allocations: 21.5 kB / 1.102 GB, free: 13.96 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.7144, allocations: 0 / 1.102 GB, free: 13.96 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/0.7261, allocations: 1.697 MB / 1.104 GB, free: 13.77 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.7263, allocations: 199.9 kB / 1.104 GB, free: 13.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.31, allocations: 0 / 1.104 GB, free: 13.52 MB / 0.698 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)