Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.417/1.417, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001149/0.001149, allocations: 186.1 kB / 326.5 MB, free: 2.246 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.843/1.843, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009344/0.000935, allocations: 97.77 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 8.719 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2445, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001806/0.2464, allocations: 1.343 MB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006156/0.247, allocations: 352 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.2471, allocations: 4 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.2471, allocations: 11.92 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.2472, allocations: 27.94 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.2477, allocations: 95.78 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.2478, allocations: 67.84 kB / 0.902 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.248, allocations: 36.02 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.2481, allocations: 39.84 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.2481, allocations: 31.84 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.2482, allocations: 0 / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.2483, allocations: 55.95 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.2483, allocations: 15.92 kB / 0.9022 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.2484, allocations: 37.7 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.2485, allocations: 88.06 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2486, allocations: 7.938 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2486, allocations: 4 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2486, allocations: 0 / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006096/0.2492, allocations: 403 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.2492, allocations: 12.03 kB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.2493, allocations: 38.55 kB / 0.9027 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.2495, allocations: 31.89 kB / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.2497, allocations: 193.8 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/0.2498, allocations: 37.69 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.2498, allocations: 12 kB / 0.903 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.2501, allocations: 108.5 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2501, allocations: 0 / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.2501, allocations: 7.938 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2501, allocations: 4 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.2504, allocations: 87.94 kB / 0.9032 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.251, allocations: 396.5 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.2515, allocations: 134.6 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.2515, allocations: 7.953 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2516, allocations: 38.59 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2516, allocations: 0 / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003989/0.252, allocations: 149.5 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.252, allocations: 51.41 kB / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.867e-05/0.2521, allocations: 137.8 kB / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.2521, allocations: 29.7 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.2522, allocations: 100.2 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.2522, allocations: 31.78 kB / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.2522, allocations: 0 / 0.9042 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.563e-05/0.2523, allocations: 318.8 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.516e-05/0.2524, allocations: 35.97 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.2525, allocations: 53.69 kB / 0.9046 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.42e-05/0.2526, allocations: 39.92 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2526, allocations: 0 / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002254/0.2528, allocations: 117.6 kB / 0.9048 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.2528, allocations: 7.953 kB / 0.9048 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2529, allocations: 0 / 0.9048 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2529, allocations: 7.938 kB / 0.9048 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.253, allocations: 23.92 kB / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.253, allocations: 4.031 kB / 0.9048 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.062e-05/0.2531, allocations: 19.89 kB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.2531, allocations: 0 / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.568e-05/0.2532, allocations: 113.8 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.2532, allocations: 7.906 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.2532, allocations: 24.66 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2533, allocations: 0 / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2533, allocations: 3.984 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2533, allocations: 4 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.2534, allocations: 197.6 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2535, allocations: 0 / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.472e-05/0.2536, allocations: 19.98 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2536, allocations: 0 / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.2536, allocations: 0 / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2536, allocations: 7.938 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2536, allocations: 0.5469 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.2538, allocations: 219.3 kB / 0.9054 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.2539, allocations: 88.89 kB / 0.9055 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2539, allocations: 4 kB / 0.9055 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.2541, allocations: 19.98 kB / 0.9055 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.2541, allocations: 11.94 kB / 0.9055 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.2541, allocations: 0 / 0.9055 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.2542, allocations: 109.4 kB / 0.9056 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2542, allocations: 0 / 0.9056 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002279/0.2544, allocations: 23.91 kB / 0.9056 GB, free: 57.91 MB / 0.6042 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 (7): * Single equations (assignments): 7 * 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.0004613/0.2549, allocations: 0.7397 MB / 0.9064 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.2552, allocations: 91.92 kB / 0.9064 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2552, allocations: 0 / 0.9064 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.2553, allocations: 43.92 kB / 0.9065 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.2556, allocations: 31.98 kB / 0.9065 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006671/0.2562, allocations: 0.5842 MB / 0.9071 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.2564, allocations: 0.7004 MB / 0.9078 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.939e-05/0.2565, allocations: 8.672 kB / 0.9078 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.2565, allocations: 27.42 kB / 0.9078 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.2565, allocations: 0 / 0.9078 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.2712, allocations: 2.346 MB / 0.9101 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.2715, allocations: 215.5 kB / 0.9103 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.978, allocations: 0 / 0.9103 GB, free: 53.16 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)