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.373/1.373, allocations: 252 MB / 267.3 MB, free: 10.83 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.0009543/0.0009543, allocations: 170 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0007372/0.0007371, allocations: 90.28 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003432, allocations: 13.5 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2003, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001197/0.2015, allocations: 1.005 MB / 0.9019 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1238/0.3253, allocations: 128.5 MB / 1.027 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.3254, allocations: 3.828 kB / 1.027 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.3254, allocations: 0 / 1.027 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.052e-05/0.3255, allocations: 3.938 kB / 1.027 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.3259, allocations: 51.8 kB / 1.027 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.328e-05/0.3259, allocations: 23.92 kB / 1.027 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.509e-05/0.326, allocations: 0 / 1.027 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.126e-05/0.326, allocations: 11.92 kB / 1.027 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.3261, allocations: 11.92 kB / 1.027 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.3261, allocations: 0 / 1.027 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.111e-05/0.3262, allocations: 12 kB / 1.027 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.3262, allocations: 7.984 kB / 1.028 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.3263, allocations: 37.64 kB / 1.028 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 9.61e-05/0.3264, allocations: 19.98 kB / 1.028 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3264, allocations: 4 kB / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3264, allocations: 0 / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3264, allocations: 0 / 1.028 GB, free: 13.17 MB / 0.6823 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.0003866/0.3268, allocations: 328.5 kB / 1.028 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3268, allocations: 12.03 kB / 1.028 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.3269, allocations: 30.75 kB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.3269, allocations: 0.9375 kB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.327, allocations: 172.3 kB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.3271, allocations: 30.2 kB / 1.028 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.3271, allocations: 12.38 kB / 1.028 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.3272, allocations: 41.94 kB / 1.028 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.3273, allocations: 0 / 1.028 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.3273, allocations: 3.938 kB / 1.028 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.3273, allocations: 3.984 kB / 1.028 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.086e-05/0.3274, allocations: 15.98 kB / 1.028 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.3275, allocations: 153.7 kB / 1.028 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.353e-05/0.3276, allocations: 34.58 kB / 1.028 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.3277, allocations: 16.88 kB / 1.028 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.3279, allocations: 93.08 kB / 1.028 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.3279, allocations: 34.5 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3279, allocations: 0 / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002327/0.3281, allocations: 65.67 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.3282, allocations: 51.41 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.3283, allocations: 93.86 kB / 1.029 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.3283, allocations: 25.7 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.3283, allocations: 80.14 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.3283, allocations: 15.83 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.3284, allocations: 0 / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3285, allocations: 314.8 kB / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-05/0.3285, allocations: 11.94 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.3286, allocations: 11.98 kB / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.948e-05/0.3286, allocations: 20.84 kB / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3287, allocations: 0 / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001223/0.3288, allocations: 49.69 kB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3288, allocations: 7.938 kB / 1.029 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3288, allocations: 4 kB / 1.029 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3288, allocations: 0 / 1.029 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.616e-05/0.3289, allocations: 8 kB / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.3289, allocations: 4 kB / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.329, allocations: 7.891 kB / 1.029 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.329, allocations: 3.938 kB / 1.029 GB, free: 11.2 MB / 0.6823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.458e-05/0.329, allocations: 109.8 kB / 1.029 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-06/0.3291, allocations: 3.938 kB / 1.029 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.3292, allocations: 61.17 kB / 1.029 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3292, allocations: 3.938 kB / 1.029 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3293, allocations: 4.562 kB / 1.029 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3293, allocations: 0 / 1.029 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.413e-05/0.3294, allocations: 153.7 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3294, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.3294, allocations: 4 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3294, allocations: 3.938 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3294, allocations: 4 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.3295, allocations: 3.984 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3295, allocations: 3.938 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.3296, allocations: 85.03 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.3297, allocations: 81.05 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.3297, allocations: 4 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.058e-05/0.3297, allocations: 7.984 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.3298, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.3298, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.291e-05/0.3298, allocations: 79.28 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.3298, allocations: 0 / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001751/0.33, allocations: 12 kB / 1.03 GB, free: 10.48 MB / 0.6823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004549/0.3305, allocations: 0.6356 MB / 1.03 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.3306, allocations: 19.98 kB / 1.03 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3306, allocations: 0 / 1.03 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.471e-05/0.3307, allocations: 12 kB / 1.03 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.3309, allocations: 11.98 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.3313, allocations: 174.1 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3315, allocations: 0.677 MB / 1.031 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.284e-05/0.3316, allocations: 8 kB / 1.031 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.3316, allocations: 7.438 kB / 1.031 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of SimCode: time 6.42e-07/0.3316, allocations: 0 / 1.031 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01077/0.3424, allocations: 1.161 MB / 1.032 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.3426, allocations: 222.8 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/1.874, allocations: 1.969 kB / 1.033 GB, free: 7.594 MB / 0.6823 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)