Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_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.698/1.698, allocations: 288.4 MB / 303.3 MB, free: 8.223 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.001085/0.001085, allocations: 190.5 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.765/1.765, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0007752/0.0007753, allocations: 95.86 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004036, allocations: 11.84 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2284, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001319/0.2298, allocations: 0.9902 MB / 0.9806 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6824/0.9121, allocations: 119.6 MB / 1.097 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.9122, allocations: 0 / 1.097 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.9123, allocations: 0 / 1.097 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.339e-05/0.9123, allocations: 7.328 kB / 1.097 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.9127, allocations: 45.09 kB / 1.097 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.9128, allocations: 23.14 kB / 1.097 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.183e-05/0.9129, allocations: 9.047 kB / 1.097 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.9129, allocations: 9.594 kB / 1.097 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.913, allocations: 13.62 kB / 1.098 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.913, allocations: 1 kB / 1.098 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.559e-05/0.9131, allocations: 10.19 kB / 1.098 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.9131, allocations: 6.547 kB / 1.098 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.9133, allocations: 27.98 kB / 1.098 GB, free: 18.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.875e-05/0.9134, allocations: 21.28 kB / 1.098 GB, free: 18.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9134, allocations: 1.312 kB / 1.098 GB, free: 18.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9134, allocations: 0 / 1.098 GB, free: 18.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.9134, allocations: 0 / 1.098 GB, free: 18.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004205/0.9138, allocations: 333.1 kB / 1.098 GB, free: 18.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.9139, allocations: 12.45 kB / 1.098 GB, free: 18.14 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.9139, allocations: 34.91 kB / 1.098 GB, free: 18.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.914, allocations: 6.125 kB / 1.098 GB, free: 18.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.9141, allocations: 171.8 kB / 1.098 GB, free: 17.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.287e-05/0.9142, allocations: 28.23 kB / 1.098 GB, free: 17.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.9142, allocations: 1.531 kB / 1.098 GB, free: 17.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.9144, allocations: 43.73 kB / 1.098 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.9144, allocations: 0 / 1.098 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.9144, allocations: 0.8125 kB / 1.098 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.9144, allocations: 0.7812 kB / 1.098 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.589e-05/0.9145, allocations: 12.61 kB / 1.098 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.9147, allocations: 157.5 kB / 1.098 GB, free: 17.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.965e-05/0.9148, allocations: 32.56 kB / 1.098 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.9148, allocations: 19.88 kB / 1.098 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.915, allocations: 87.77 kB / 1.098 GB, free: 17.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.9151, allocations: 34.08 kB / 1.099 GB, free: 17.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.9151, allocations: 0 / 1.099 GB, free: 17.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002561/0.9153, allocations: 57.28 kB / 1.099 GB, free: 17.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.9154, allocations: 52.09 kB / 1.099 GB, free: 17.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/0.9155, allocations: 106.6 kB / 1.099 GB, free: 17.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.9155, allocations: 28.34 kB / 1.099 GB, free: 17.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.9155, allocations: 80.14 kB / 1.099 GB, free: 17.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.9156, allocations: 7.734 kB / 1.099 GB, free: 17.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.9156, allocations: 3.25 kB / 1.099 GB, free: 17.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.9157, allocations: 316.4 kB / 1.099 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.495e-05/0.9157, allocations: 6.609 kB / 1.099 GB, free: 16.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/0.9158, allocations: 10.44 kB / 1.099 GB, free: 16.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.467e-05/0.9158, allocations: 10.91 kB / 1.099 GB, free: 16.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9159, allocations: 0 / 1.099 GB, free: 16.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001266/0.916, allocations: 52.03 kB / 1.099 GB, free: 16.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.916, allocations: 5.938 kB / 1.099 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.916, allocations: 4.438 kB / 1.099 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.916, allocations: 0.875 kB / 1.099 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.9161, allocations: 7.359 kB / 1.099 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.9161, allocations: 0.75 kB / 1.099 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.9162, allocations: 9.719 kB / 1.099 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.9162, allocations: 5.219 kB / 1.099 GB, free: 16.77 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.918e-05/0.9163, allocations: 116.9 kB / 1.099 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-06/0.9163, allocations: 1.75 kB / 1.099 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.9165, allocations: 58.12 kB / 1.099 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.9165, allocations: 0.7188 kB / 1.099 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9165, allocations: 0 / 1.099 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.9165, allocations: 0.7812 kB / 1.099 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.931e-05/0.9166, allocations: 153.9 kB / 1.1 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9166, allocations: 4.812 kB / 1.1 GB, free: 16.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.9167, allocations: 6.547 kB / 1.1 GB, free: 16.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9167, allocations: 0.6562 kB / 1.1 GB, free: 16.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.9167, allocations: 1.688 kB / 1.1 GB, free: 16.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.9167, allocations: 0.9375 kB / 1.1 GB, free: 16.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.9167, allocations: 3.938 kB / 1.1 GB, free: 16.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.9169, allocations: 77.19 kB / 1.1 GB, free: 16.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.9169, allocations: 92.62 kB / 1.1 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.917, allocations: 2.047 kB / 1.1 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.065e-05/0.917, allocations: 0.7812 kB / 1.1 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.917, allocations: 7.969 kB / 1.1 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.917, allocations: 1.594 kB / 1.1 GB, free: 16.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.9171, allocations: 80.92 kB / 1.1 GB, free: 16.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9171, allocations: 0.8125 kB / 1.1 GB, free: 16.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001968/0.9173, allocations: 11.66 kB / 1.1 GB, free: 16.17 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.0005038/0.9178, allocations: 0.6248 MB / 1.1 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.918, allocations: 20.77 kB / 1.1 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.918, allocations: 1.094 kB / 1.1 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/0.918, allocations: 7.062 kB / 1.1 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.9183, allocations: 12.16 kB / 1.1 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.9187, allocations: 178.8 kB / 1.101 GB, free: 15.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.919, allocations: 0.6767 MB / 1.101 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.153e-05/0.919, allocations: 4.812 kB / 1.101 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.919, allocations: 9.406 kB / 1.101 GB, free: 14.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/0.9191, allocations: 4.656 kB / 1.101 GB, free: 14.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.9308, allocations: 1.153 MB / 1.102 GB, free: 14.55 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/0.931, allocations: 209.9 kB / 1.103 GB, free: 14.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.556, allocations: 1.188 kB / 1.103 GB, free: 14.32 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)