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.649/2.649, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.002313/0.002313, allocations: 181.5 kB / 370.8 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 2.194/2.194, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001092/0.001092, allocations: 93.84 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.0004891, allocations: 15.86 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2297, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001824/0.2316, allocations: 1.199 MB / 0.9794 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9167/1.148, allocations: 112 MB / 1.089 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/1.148, allocations: 1 kB / 1.089 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/1.149, allocations: 3.938 kB / 1.089 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.595e-05/1.149, allocations: 16.8 kB / 1.089 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/1.149, allocations: 52.3 kB / 1.089 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 9.858e-05/1.149, allocations: 33.41 kB / 1.089 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/1.149, allocations: 15.48 kB / 1.089 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.28e-05/1.149, allocations: 14.59 kB / 1.089 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/1.149, allocations: 26.31 kB / 1.089 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/1.149, allocations: 2.594 kB / 1.089 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.625e-05/1.15, allocations: 14.25 kB / 1.089 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/1.15, allocations: 11.5 kB / 1.089 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/1.15, allocations: 32.42 kB / 1.089 GB, free: 18.35 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/1.15, allocations: 35.53 kB / 1.089 GB, free: 18.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/1.15, allocations: 0 / 1.089 GB, free: 18.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/1.15, allocations: 1 kB / 1.089 GB, free: 18.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.002e-05/1.15, allocations: 0 / 1.089 GB, free: 18.35 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.0006854/1.151, allocations: 382.8 kB / 1.089 GB, free: 17.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.151, allocations: 14.08 kB / 1.089 GB, free: 17.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/1.151, allocations: 35.56 kB / 1.089 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/1.151, allocations: 14.61 kB / 1.089 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/1.151, allocations: 161.6 kB / 1.09 GB, free: 17.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/1.151, allocations: 3.812 kB / 1.09 GB, free: 17.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/1.151, allocations: 1.688 kB / 1.09 GB, free: 17.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/1.151, allocations: 86.52 kB / 1.09 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.151, allocations: 1.188 kB / 1.09 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/1.151, allocations: 0 / 1.09 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.151, allocations: 1.188 kB / 1.09 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/1.152, allocations: 97.03 kB / 1.09 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/1.153, allocations: 290.7 kB / 1.09 GB, free: 17.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/1.153, allocations: 67.5 kB / 1.09 GB, free: 17.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/1.153, allocations: 91.3 kB / 1.09 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.153, allocations: 34.25 kB / 1.09 GB, free: 17.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/1.153, allocations: 0 / 1.09 GB, free: 17.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0009755/1.154, allocations: 176 kB / 1.09 GB, free: 17.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/1.154, allocations: 54.34 kB / 1.09 GB, free: 17.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/1.154, allocations: 123.1 kB / 1.091 GB, free: 17.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/1.154, allocations: 25.7 kB / 1.091 GB, free: 17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/1.155, allocations: 90.42 kB / 1.091 GB, free: 16.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/1.155, allocations: 5.375 kB / 1.091 GB, free: 16.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/1.155, allocations: 0.6875 kB / 1.091 GB, free: 16.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.155, allocations: 317.8 kB / 1.091 GB, free: 16.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/1.155, allocations: 43.98 kB / 1.091 GB, free: 16.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/1.155, allocations: 41.86 kB / 1.091 GB, free: 16.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/1.156, allocations: 42.44 kB / 1.091 GB, free: 16.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.156, allocations: 0.875 kB / 1.091 GB, free: 16.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006245/1.156, allocations: 127.6 kB / 1.091 GB, free: 16.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/1.156, allocations: 5.25 kB / 1.091 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.156, allocations: 2.578 kB / 1.091 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.156, allocations: 0 / 1.091 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/1.157, allocations: 31.06 kB / 1.091 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.157, allocations: 0 / 1.091 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/1.157, allocations: 16.59 kB / 1.091 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/1.157, allocations: 4.719 kB / 1.091 GB, free: 16.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.0001282/1.157, allocations: 110.5 kB / 1.091 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/1.157, allocations: 12.66 kB / 1.091 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000679/1.158, allocations: 132.8 kB / 1.092 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.158, allocations: 0.9062 kB / 1.092 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.158, allocations: 4.766 kB / 1.092 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.158, allocations: 0 / 1.092 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/1.158, allocations: 171.5 kB / 1.092 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.158, allocations: 0 / 1.092 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/1.158, allocations: 19.59 kB / 1.092 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.158, allocations: 4 kB / 1.092 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/1.158, allocations: 2.906 kB / 1.092 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.158, allocations: 2.547 kB / 1.092 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.158, allocations: 0.7188 kB / 1.092 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/1.159, allocations: 221.1 kB / 1.092 GB, free: 16.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/1.159, allocations: 86.92 kB / 1.092 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/1.159, allocations: 0.625 kB / 1.092 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/1.159, allocations: 22.64 kB / 1.092 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/1.159, allocations: 6.891 kB / 1.092 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/1.159, allocations: 1.688 kB / 1.092 GB, free: 15.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001223/1.159, allocations: 92.97 kB / 1.092 GB, free: 15.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.159, allocations: 0 / 1.092 GB, free: 15.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000333/1.16, allocations: 16.36 kB / 1.092 GB, free: 15.86 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.001103/1.161, allocations: 0.7641 MB / 1.093 GB, free: 15.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006255/1.162, allocations: 95.09 kB / 1.093 GB, free: 15.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.162, allocations: 1.969 kB / 1.093 GB, free: 15.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002864/1.162, allocations: 42.16 kB / 1.093 GB, free: 15.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/1.162, allocations: 14.06 kB / 1.093 GB, free: 15.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/1.164, allocations: 0.579 MB / 1.094 GB, free: 14.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/1.165, allocations: 0.6856 MB / 1.094 GB, free: 14.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.11e-05/1.165, allocations: 4.266 kB / 1.094 GB, free: 14.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/1.165, allocations: 14.97 kB / 1.094 GB, free: 14.12 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.165, allocations: 4.688 kB / 1.094 GB, free: 14.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/1.189, allocations: 1.694 MB / 1.096 GB, free: 13.92 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/1.189, allocations: 194.2 kB / 1.096 GB, free: 13.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.632, allocations: 5 kB / 1.096 GB, free: 13.67 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)