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.649/1.649, allocations: 288.2 MB / 303.2 MB, free: 8.117 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.001218/0.001218, allocations: 177 kB / 371.8 MB, free: 10.3 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.78/1.78, allocations: 205.4 MB / 0.6305 GB, free: 10.06 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.0009211/0.0009212, allocations: 106.8 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.000435, allocations: 15.03 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2702, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001595/0.2719, allocations: 1.195 MB / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7498/1.022, allocations: 112 MB / 1.09 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/1.022, allocations: 0.75 kB / 1.09 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/1.022, allocations: 1.703 kB / 1.09 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 9.826e-05/1.022, allocations: 16.78 kB / 1.09 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/1.022, allocations: 53.11 kB / 1.09 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.781e-05/1.023, allocations: 35.23 kB / 1.09 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/1.023, allocations: 16.8 kB / 1.09 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.677e-05/1.023, allocations: 17.77 kB / 1.09 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/1.023, allocations: 19.83 kB / 1.09 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/1.023, allocations: 1.656 kB / 1.09 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.55e-05/1.023, allocations: 15.41 kB / 1.09 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/1.023, allocations: 11.77 kB / 1.09 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/1.023, allocations: 36.64 kB / 1.09 GB, free: 19.36 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/1.023, allocations: 35.67 kB / 1.09 GB, free: 19.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/1.023, allocations: 0 / 1.09 GB, free: 19.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/1.023, allocations: 0 / 1.09 GB, free: 19.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.839e-06/1.023, allocations: 0.625 kB / 1.09 GB, free: 19.36 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.0005885/1.024, allocations: 377.9 kB / 1.091 GB, free: 18.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.024, allocations: 13.02 kB / 1.091 GB, free: 18.99 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/1.024, allocations: 35.67 kB / 1.091 GB, free: 18.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/1.024, allocations: 7.031 kB / 1.091 GB, free: 18.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/1.024, allocations: 167.6 kB / 1.091 GB, free: 18.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/1.024, allocations: 7.094 kB / 1.091 GB, free: 18.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/1.024, allocations: 6.125 kB / 1.091 GB, free: 18.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/1.025, allocations: 84.8 kB / 1.091 GB, free: 18.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.025, allocations: 0 / 1.091 GB, free: 18.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/1.025, allocations: 4.547 kB / 1.091 GB, free: 18.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.025, allocations: 5.562 kB / 1.091 GB, free: 18.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/1.025, allocations: 89.59 kB / 1.091 GB, free: 18.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/1.025, allocations: 288 kB / 1.091 GB, free: 18.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/1.026, allocations: 68.39 kB / 1.091 GB, free: 18.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/1.026, allocations: 92.75 kB / 1.091 GB, free: 18.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/1.026, allocations: 34.03 kB / 1.091 GB, free: 18.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.744e-06/1.026, allocations: 0.8438 kB / 1.091 GB, free: 18.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0006439/1.027, allocations: 162.1 kB / 1.092 GB, free: 18.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/1.027, allocations: 60.64 kB / 1.092 GB, free: 18.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/1.027, allocations: 125.7 kB / 1.092 GB, free: 18.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/1.027, allocations: 26.59 kB / 1.092 GB, free: 18.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/1.027, allocations: 86.61 kB / 1.092 GB, free: 17.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/1.027, allocations: 8.719 kB / 1.092 GB, free: 17.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/1.027, allocations: 1.859 kB / 1.092 GB, free: 17.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.027, allocations: 316.7 kB / 1.092 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/1.027, allocations: 44.47 kB / 1.092 GB, free: 17.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/1.027, allocations: 40.12 kB / 1.092 GB, free: 17.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/1.027, allocations: 44.2 kB / 1.092 GB, free: 17.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.028, allocations: 0 / 1.092 GB, free: 17.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000391/1.028, allocations: 123.9 kB / 1.092 GB, free: 17.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.028, allocations: 6.656 kB / 1.092 GB, free: 17.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.028, allocations: 0.9375 kB / 1.092 GB, free: 17.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.028, allocations: 0.6562 kB / 1.092 GB, free: 17.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/1.028, allocations: 28.89 kB / 1.092 GB, free: 17.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.028, allocations: 4.609 kB / 1.092 GB, free: 17.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/1.028, allocations: 19.27 kB / 1.093 GB, free: 17.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/1.028, allocations: 0.9688 kB / 1.093 GB, free: 17.55 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.0001309/1.028, allocations: 110.5 kB / 1.093 GB, free: 17.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/1.028, allocations: 12.66 kB / 1.093 GB, free: 17.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004577/1.029, allocations: 132.5 kB / 1.093 GB, free: 17.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.029, allocations: 2.547 kB / 1.093 GB, free: 17.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.029, allocations: 0.6875 kB / 1.093 GB, free: 17.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/1.029, allocations: 4.609 kB / 1.093 GB, free: 17.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/1.029, allocations: 170 kB / 1.093 GB, free: 17.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.029, allocations: 0.6562 kB / 1.093 GB, free: 17.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/1.029, allocations: 24.88 kB / 1.093 GB, free: 17.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.029, allocations: 4 kB / 1.093 GB, free: 17.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/1.029, allocations: 4.609 kB / 1.093 GB, free: 17.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.029, allocations: 1.781 kB / 1.093 GB, free: 17.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.029, allocations: 0 / 1.093 GB, free: 17.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/1.03, allocations: 217 kB / 1.093 GB, free: 17.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/1.03, allocations: 87.72 kB / 1.093 GB, free: 16.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/1.03, allocations: 4.594 kB / 1.093 GB, free: 16.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/1.03, allocations: 20.81 kB / 1.093 GB, free: 16.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/1.03, allocations: 4.766 kB / 1.093 GB, free: 16.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/1.03, allocations: 3.969 kB / 1.093 GB, free: 16.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.251e-05/1.03, allocations: 95.16 kB / 1.093 GB, free: 16.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.03, allocations: 0 / 1.093 GB, free: 16.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002445/1.03, allocations: 12.38 kB / 1.093 GB, free: 16.87 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.000916/1.031, allocations: 0.7619 MB / 1.094 GB, free: 16.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004339/1.032, allocations: 90.58 kB / 1.094 GB, free: 16.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.032, allocations: 0 / 1.094 GB, free: 16.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/1.032, allocations: 50.66 kB / 1.094 GB, free: 16.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/1.032, allocations: 15.39 kB / 1.094 GB, free: 16.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/1.034, allocations: 0.5759 MB / 1.095 GB, free: 15.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/1.034, allocations: 0.6848 MB / 1.096 GB, free: 15.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.586e-05/1.034, allocations: 2.531 kB / 1.096 GB, free: 15.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/1.034, allocations: 18.55 kB / 1.096 GB, free: 15.13 MB / 0.698 GB Notification: Performance of SimCode: time 1.332e-06/1.034, allocations: 4 kB / 1.096 GB, free: 15.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/1.048, allocations: 1.687 MB / 1.097 GB, free: 14.96 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/1.048, allocations: 212.4 kB / 1.097 GB, free: 14.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.639, allocations: 4 kB / 1.097 GB, free: 14.7 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)