Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.422/1.422, allocations: 251.5 MB / 266.7 MB, free: 11.01 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.001215/0.001216, allocations: 172 kB / 325.8 MB, free: 2.68 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.588/1.588, allocations: 205 MB / 0.576 GB, free: 20.94 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.0006891/0.0006891, allocations: 85.12 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.000281, allocations: 14.81 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1599, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001547/0.1615, allocations: 1.367 MB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1316/0.2931, allocations: 149.3 MB / 1.043 GB, free: 12.82 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.844e-05/0.2932, allocations: 4 kB / 1.043 GB, free: 12.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.2934, allocations: 7.938 kB / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.2936, allocations: 35.77 kB / 1.043 GB, free: 12.78 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.2939, allocations: 127.5 kB / 1.043 GB, free: 12.65 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.294, allocations: 115.6 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.2941, allocations: 25.39 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.2961, allocations: 155.3 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.2961, allocations: 35.78 kB / 1.044 GB, free: 12.35 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.2961, allocations: 4 kB / 1.044 GB, free: 12.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.2965, allocations: 183.6 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.2965, allocations: 23.91 kB / 1.044 GB, free: 12.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.2966, allocations: 39.73 kB / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.2969, allocations: 175.5 kB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2969, allocations: 0 / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.418e-06/0.2969, allocations: 0 / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2969, allocations: 7.938 kB / 1.044 GB, free: 11.92 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005928/0.2975, allocations: 431.1 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2975, allocations: 16.02 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.2976, allocations: 34.75 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008358/0.2984, allocations: 83.75 kB / 1.045 GB, free: 11.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.2986, allocations: 214.7 kB / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.2987, allocations: 4 kB / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.2987, allocations: 8 kB / 1.045 GB, free: 11.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.2991, allocations: 149.5 kB / 1.045 GB, free: 10.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2991, allocations: 0 / 1.045 GB, free: 10.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.2991, allocations: 3.938 kB / 1.045 GB, free: 10.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2991, allocations: 7.984 kB / 1.045 GB, free: 10.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004958/0.2996, allocations: 159.8 kB / 1.045 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.3004, allocations: 404.5 kB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.3011, allocations: 263.7 kB / 1.046 GB, free: 10 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.3013, allocations: 84.8 kB / 1.046 GB, free: 9.914 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.3013, allocations: 3.984 kB / 1.046 GB, free: 9.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3014, allocations: 42.55 kB / 1.046 GB, free: 9.859 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.3014, allocations: 0 / 1.046 GB, free: 9.859 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0007848/0.3022, allocations: 257.3 kB / 1.046 GB, free: 9.602 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.3022, allocations: 55.34 kB / 1.046 GB, free: 9.535 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3023, allocations: 144.9 kB / 1.046 GB, free: 9.387 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.3024, allocations: 29.7 kB / 1.047 GB, free: 9.352 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.3024, allocations: 100.1 kB / 1.047 GB, free: 9.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.3024, allocations: 31.69 kB / 1.047 GB, free: 9.219 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.3025, allocations: 9.719 kB / 1.047 GB, free: 9.203 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.3026, allocations: 326.8 kB / 1.047 GB, free: 8.875 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.3028, allocations: 67.95 kB / 1.047 GB, free: 8.809 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.303, allocations: 86.52 kB / 1.047 GB, free: 8.715 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.3034, allocations: 140.8 kB / 1.047 GB, free: 8.574 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3034, allocations: 3.938 kB / 1.047 GB, free: 8.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000466/0.3039, allocations: 185.4 kB / 1.047 GB, free: 8.383 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3039, allocations: 10.19 kB / 1.047 GB, free: 8.375 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.304, allocations: 0 / 1.047 GB, free: 8.375 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.304, allocations: 0 / 1.047 GB, free: 8.375 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.3042, allocations: 35.95 kB / 1.047 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3042, allocations: 4 kB / 1.047 GB, free: 8.336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.3044, allocations: 19.98 kB / 1.047 GB, free: 8.316 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.3044, allocations: 7.938 kB / 1.047 GB, free: 8.309 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 (8): * Single equations (assignments): 8 * 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 9.858e-05/0.3045, allocations: 121.8 kB / 1.048 GB, free: 8.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.3045, allocations: 11.81 kB / 1.048 GB, free: 8.168 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/0.3046, allocations: 16.72 kB / 1.048 GB, free: 8.148 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3046, allocations: 3.938 kB / 1.048 GB, free: 8.145 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3046, allocations: 4 kB / 1.048 GB, free: 8.141 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3046, allocations: 0 / 1.048 GB, free: 8.141 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007848/0.3054, allocations: 490.2 kB / 1.048 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3054, allocations: 0 / 1.048 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.3056, allocations: 31.97 kB / 1.048 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3056, allocations: 4 kB / 1.048 GB, free: 7.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.3056, allocations: 7.984 kB / 1.048 GB, free: 7.562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.3056, allocations: 3.938 kB / 1.048 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3057, allocations: 0 / 1.048 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/0.3062, allocations: 279.9 kB / 1.048 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.3062, allocations: 88.92 kB / 1.049 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3062, allocations: 4 kB / 1.049 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.3064, allocations: 27.91 kB / 1.049 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.3065, allocations: 4 kB / 1.049 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3065, allocations: 7.984 kB / 1.049 GB, free: 7.121 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.352e-05/0.3065, allocations: 106.1 kB / 1.049 GB, free: 7.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.3066, allocations: 0 / 1.049 GB, free: 7.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002363/0.3068, allocations: 32 kB / 1.049 GB, free: 6.988 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 (8): * Single equations (assignments): 8 * 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.0007867/0.3076, allocations: 0.8294 MB / 1.049 GB, free: 6.133 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000469/0.3081, allocations: 147.9 kB / 1.05 GB, free: 5.988 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3081, allocations: 8 kB / 1.05 GB, free: 5.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.3083, allocations: 71.88 kB / 1.05 GB, free: 5.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.3086, allocations: 39.86 kB / 1.05 GB, free: 5.871 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.311, allocations: 1.806 MB / 1.052 GB, free: 3.988 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.3113, allocations: 0.7005 MB / 1.052 GB, free: 3.262 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.3114, allocations: 28.39 kB / 1.052 GB, free: 3.234 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.3115, allocations: 35.52 kB / 1.052 GB, free: 3.199 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/0.3115, allocations: 3.938 kB / 1.052 GB, free: 3.195 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2801/0.5916, allocations: 2.978 MB / 1.055 GB, free: 408 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.5918, allocations: 230.5 kB / 1.055 GB, free: 144 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.515, allocations: 0 / 1.055 GB, free: 144 kB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)