Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 186.6 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.182/2.182, allocations: 205.4 MB / 0.5777 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007794/0.0007794, allocations: 86.34 kB / 0.6822 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003404, allocations: 8.531 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2039, allocations: 106.3 MB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00133/0.2052, allocations: 1.009 MB / 0.9013 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1246/0.3299, allocations: 119.6 MB / 1.018 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.33, allocations: 3.938 kB / 1.018 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.33, allocations: 0 / 1.018 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 7.145e-05/0.3301, allocations: 7.922 kB / 1.018 GB, free: 7.395 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.3304, allocations: 43.8 kB / 1.018 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 6.364e-05/0.3305, allocations: 19.88 kB / 1.018 GB, free: 7.332 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 5.77e-05/0.3305, allocations: 3.984 kB / 1.018 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.3306, allocations: 12 kB / 1.018 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 5.742e-05/0.3306, allocations: 11.94 kB / 1.018 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.3307, allocations: 0 / 1.018 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.3307, allocations: 11.98 kB / 1.018 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.3307, allocations: 4 kB / 1.018 GB, free: 7.289 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.3308, allocations: 25.7 kB / 1.018 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.3309, allocations: 23.97 kB / 1.018 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3309, allocations: 0 / 1.018 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3309, allocations: 0 / 1.018 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.3309, allocations: 0 / 1.018 GB, free: 7.234 MB / 0.6667 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.0003852/0.3313, allocations: 331.6 kB / 1.019 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3314, allocations: 12.03 kB / 1.019 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.3314, allocations: 30.56 kB / 1.019 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.3315, allocations: 4 kB / 1.019 GB, free: 6.809 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3316, allocations: 175 kB / 1.019 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.3317, allocations: 25.7 kB / 1.019 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.3317, allocations: 4 kB / 1.019 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.3318, allocations: 37.69 kB / 1.019 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3318, allocations: 7.984 kB / 1.019 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.3318, allocations: 0 / 1.019 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3318, allocations: 4 kB / 1.019 GB, free: 6.508 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.878e-05/0.3319, allocations: 7.984 kB / 1.019 GB, free: 6.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.3321, allocations: 165.6 kB / 1.019 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.296e-05/0.3322, allocations: 30.52 kB / 1.019 GB, free: 6.25 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.3323, allocations: 16.94 kB / 1.019 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.3325, allocations: 93.09 kB / 1.019 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.3325, allocations: 30.56 kB / 1.019 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 2.705e-06/0.3325, allocations: 0 / 1.019 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002199/0.3327, allocations: 61.61 kB / 1.019 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3328, allocations: 55.41 kB / 1.019 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.3328, allocations: 93.86 kB / 1.019 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3329, allocations: 33.64 kB / 1.019 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.3329, allocations: 84.08 kB / 1.019 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.3329, allocations: 11.84 kB / 1.019 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/0.3329, allocations: 0 / 1.019 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3331, allocations: 322.8 kB / 1.02 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/0.3331, allocations: 4 kB / 1.02 GB, free: 5.383 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.3332, allocations: 7.984 kB / 1.02 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.431e-05/0.3332, allocations: 8 kB / 1.02 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3332, allocations: 4 kB / 1.02 GB, free: 5.363 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001198/0.3333, allocations: 49.69 kB / 1.02 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3334, allocations: 4 kB / 1.02 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3334, allocations: 0 / 1.02 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.3334, allocations: 0 / 1.02 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.3335, allocations: 7.984 kB / 1.02 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3335, allocations: 0 / 1.02 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.3335, allocations: 4 kB / 1.02 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.3335, allocations: 3.938 kB / 1.02 GB, free: 5.289 MB / 0.6667 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 7.633e-05/0.3336, allocations: 113.8 kB / 1.02 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.3336, allocations: 11.91 kB / 1.02 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.3338, allocations: 57.16 kB / 1.02 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3338, allocations: 0.5625 kB / 1.02 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3338, allocations: 0 / 1.02 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3338, allocations: 0 / 1.02 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.3339, allocations: 157.6 kB / 1.02 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3339, allocations: 4 kB / 1.02 GB, free: 4.883 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.334, allocations: 11.98 kB / 1.02 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.334, allocations: 0 / 1.02 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.334, allocations: 3.984 kB / 1.02 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.334, allocations: 0 / 1.02 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.334, allocations: 3.938 kB / 1.02 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.3342, allocations: 73.12 kB / 1.02 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.3342, allocations: 85.05 kB / 1.02 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3343, allocations: 4 kB / 1.02 GB, free: 4.668 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.028e-05/0.3343, allocations: 11.94 kB / 1.02 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.3343, allocations: 0 / 1.02 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.3343, allocations: 4 kB / 1.02 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.3344, allocations: 79.27 kB / 1.02 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3344, allocations: 0 / 1.02 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0001875/0.3346, allocations: 12 kB / 1.02 GB, free: 4.562 MB / 0.6667 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.0004872/0.3351, allocations: 0.624 MB / 1.021 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.3352, allocations: 19.98 kB / 1.021 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3352, allocations: 3.938 kB / 1.021 GB, free: 3.883 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/0.3353, allocations: 11.98 kB / 1.021 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.3355, allocations: 8 kB / 1.021 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.3359, allocations: 186 kB / 1.021 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3362, allocations: 0.6731 MB / 1.022 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 4.276e-05/0.3362, allocations: 8 kB / 1.022 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.3362, allocations: 7.438 kB / 1.022 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of SimCode: time 4.11e-07/0.3362, allocations: 4 kB / 1.022 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01145/0.3477, allocations: 1.15 MB / 1.023 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.3479, allocations: 210.7 kB / 1.023 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/1.871, allocations: 0 / 1.023 GB, free: 1.715 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)