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.914/2.914, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.002062/0.002063, allocations: 180.3 kB / 371 MB, free: 10.87 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.318/2.318, allocations: 205.4 MB / 0.6297 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.0009676/0.0009673, allocations: 100.9 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004844/0.0004846, allocations: 12.7 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2182, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001716/0.22, allocations: 1.203 MB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8441/1.064, allocations: 119.6 MB / 1.096 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/1.064, allocations: 0.75 kB / 1.096 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/1.064, allocations: 4.547 kB / 1.096 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.164e-05/1.064, allocations: 11.02 kB / 1.096 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/1.065, allocations: 53.75 kB / 1.097 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/1.065, allocations: 48.14 kB / 1.097 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/1.065, allocations: 16.84 kB / 1.097 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.456e-05/1.065, allocations: 17.16 kB / 1.097 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.467e-05/1.065, allocations: 19.7 kB / 1.097 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/1.065, allocations: 2.188 kB / 1.097 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/1.065, allocations: 15.25 kB / 1.097 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/1.065, allocations: 13.98 kB / 1.097 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.994e-05/1.065, allocations: 29.48 kB / 1.097 GB, free: 17.82 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/1.066, allocations: 43.83 kB / 1.097 GB, free: 17.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.066, allocations: 0 / 1.097 GB, free: 17.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/1.066, allocations: 0.6562 kB / 1.097 GB, free: 17.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.02e-05/1.066, allocations: 0 / 1.097 GB, free: 17.82 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.0006665/1.066, allocations: 379.6 kB / 1.097 GB, free: 17.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.066, allocations: 13.86 kB / 1.097 GB, free: 17.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/1.066, allocations: 34.81 kB / 1.097 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/1.066, allocations: 10.89 kB / 1.097 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/1.067, allocations: 176.4 kB / 1.097 GB, free: 17.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/1.067, allocations: 1.344 kB / 1.097 GB, free: 17.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/1.067, allocations: 2.25 kB / 1.097 GB, free: 17.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/1.067, allocations: 89.38 kB / 1.097 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.067, allocations: 0 / 1.097 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/1.067, allocations: 1.031 kB / 1.097 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/1.067, allocations: 2.625 kB / 1.097 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005476/1.068, allocations: 91.12 kB / 1.097 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/1.068, allocations: 291.8 kB / 1.098 GB, free: 16.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/1.069, allocations: 64.56 kB / 1.098 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/1.069, allocations: 50.73 kB / 1.098 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/1.069, allocations: 89.48 kB / 1.098 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/1.069, allocations: 32.25 kB / 1.098 GB, free: 16.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.695e-06/1.069, allocations: 0.8438 kB / 1.098 GB, free: 16.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.00098/1.07, allocations: 174.4 kB / 1.098 GB, free: 16.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/1.07, allocations: 52.16 kB / 1.098 GB, free: 16.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/1.07, allocations: 116.9 kB / 1.098 GB, free: 16.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/1.07, allocations: 26.55 kB / 1.098 GB, free: 16.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/1.07, allocations: 90.94 kB / 1.098 GB, free: 16.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/1.071, allocations: 16.08 kB / 1.098 GB, free: 16.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/1.071, allocations: 0.5625 kB / 1.098 GB, free: 16.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.071, allocations: 315.8 kB / 1.099 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/1.071, allocations: 39.89 kB / 1.099 GB, free: 16.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/1.071, allocations: 45.86 kB / 1.099 GB, free: 16.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/1.072, allocations: 45.38 kB / 1.099 GB, free: 16.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.072, allocations: 0.75 kB / 1.099 GB, free: 16.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006206/1.072, allocations: 125.3 kB / 1.099 GB, free: 16.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.072, allocations: 5.375 kB / 1.099 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.072, allocations: 0 / 1.099 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/1.072, allocations: 4.828 kB / 1.099 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/1.072, allocations: 23.06 kB / 1.099 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/1.072, allocations: 1.062 kB / 1.099 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/1.073, allocations: 20.55 kB / 1.099 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/1.073, allocations: 1.188 kB / 1.099 GB, free: 16.01 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.0001026/1.073, allocations: 112.2 kB / 1.099 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/1.073, allocations: 9.344 kB / 1.099 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000686/1.074, allocations: 129.7 kB / 1.099 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.074, allocations: 3.234 kB / 1.099 GB, free: 15.85 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/1.074, allocations: 3.953 kB / 1.099 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.074, allocations: 0 / 1.099 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/1.074, allocations: 178.7 kB / 1.099 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.074, allocations: 1.094 kB / 1.099 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/1.074, allocations: 23.56 kB / 1.099 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/1.074, allocations: 0 / 1.099 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/1.074, allocations: 1 kB / 1.099 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/1.074, allocations: 0 / 1.099 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.074, allocations: 1.625 kB / 1.099 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/1.075, allocations: 227.3 kB / 1.1 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/1.075, allocations: 86.2 kB / 1.1 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/1.075, allocations: 1.25 kB / 1.1 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/1.075, allocations: 16.47 kB / 1.1 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/1.075, allocations: 8.391 kB / 1.1 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/1.075, allocations: 3.25 kB / 1.1 GB, free: 15.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.347e-05/1.075, allocations: 101.2 kB / 1.1 GB, free: 15.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.075, allocations: 0 / 1.1 GB, free: 15.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003154/1.076, allocations: 14.44 kB / 1.1 GB, free: 15.32 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.001038/1.077, allocations: 0.7538 MB / 1.101 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006076/1.077, allocations: 90.23 kB / 1.101 GB, free: 14.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.077, allocations: 1.156 kB / 1.101 GB, free: 14.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002806/1.078, allocations: 51.95 kB / 1.101 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/1.078, allocations: 10.75 kB / 1.101 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/1.08, allocations: 0.5743 MB / 1.101 GB, free: 14.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.08, allocations: 0.6863 MB / 1.102 GB, free: 13.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.833e-05/1.08, allocations: 2.125 kB / 1.102 GB, free: 13.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/1.08, allocations: 16.48 kB / 1.102 GB, free: 13.58 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/1.08, allocations: 0 / 1.102 GB, free: 13.58 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/1.104, allocations: 1.711 MB / 1.104 GB, free: 13.38 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/1.104, allocations: 195.6 kB / 1.104 GB, free: 13.15 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/3.694, allocations: 1.859 kB / 1.104 GB, free: 13.15 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)