Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.475/1.475, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001117/0.001118, allocations: 181.9 kB / 326.5 MB, free: 2.242 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.946/1.946, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001459/0.001459, allocations: 90.31 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004569, allocations: 8.562 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.254, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001615/0.2557, allocations: 1.133 MB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008217/0.2566, allocations: 0.5404 MB / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.2566, allocations: 0 / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.2566, allocations: 0 / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.737e-05/0.2567, allocations: 3.984 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.257, allocations: 91.73 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.082e-05/0.2571, allocations: 15.98 kB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.208e-05/0.2572, allocations: 7.922 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.998e-05/0.2572, allocations: 4 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.2573, allocations: 15.97 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.2573, allocations: 0 / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.2575, allocations: 155.8 kB / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.2575, allocations: 0 / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.2576, allocations: 41.58 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.2577, allocations: 72.12 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2577, allocations: 0 / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2577, allocations: 0 / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2577, allocations: 0 / 0.9022 GB, free: 61.78 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003901/0.2581, allocations: 355.3 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2582, allocations: 8.031 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.2582, allocations: 34.56 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003967/0.2586, allocations: 31.86 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.576e-05/0.2587, allocations: 167 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.2587, allocations: 0 / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.2588, allocations: 0 / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.259, allocations: 77.58 kB / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.259, allocations: 0 / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.2591, allocations: 0 / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2591, allocations: 7.938 kB / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.2593, allocations: 63.94 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.2598, allocations: 276.7 kB / 0.9031 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.26, allocations: 62.53 kB / 0.9032 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.2601, allocations: 64 / 0.9032 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.2601, allocations: 38.56 kB / 0.9032 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.824e-06/0.2601, allocations: 3.938 kB / 0.9032 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0004889/0.2606, allocations: 129.5 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.2607, allocations: 51.41 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.251e-05/0.2607, allocations: 109.9 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2607, allocations: 25.7 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.2608, allocations: 80.14 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.2608, allocations: 7.906 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.2608, allocations: 0 / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.2609, allocations: 318.8 kB / 0.9039 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.261, allocations: 31.98 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.2611, allocations: 27.97 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.2613, allocations: 36.03 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2613, allocations: 3.938 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002735/0.2616, allocations: 97.62 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2616, allocations: 8.031 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2616, allocations: 0 / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2616, allocations: 0 / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.2617, allocations: 15.98 kB / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2618, allocations: 0 / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.939e-05/0.2619, allocations: 23.78 kB / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.2619, allocations: 0 / 0.9042 GB, free: 59.51 MB / 0.6042 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 (2): * Single equations (assignments): 2 * 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 5.688e-05/0.2619, allocations: 113.8 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.262, allocations: 7.984 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.262, allocations: 3.125 kB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.262, allocations: 0 / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.262, allocations: 0 / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.262, allocations: 0 / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.2622, allocations: 169.6 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2622, allocations: 192 / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.2623, allocations: 19.98 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2623, allocations: 11.86 kB / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2623, allocations: 3.984 kB / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2623, allocations: 4 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2623, allocations: 0 / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.2626, allocations: 195.5 kB / 0.9047 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.2627, allocations: 81.09 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.2627, allocations: 3.938 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2628, allocations: 16.02 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.2628, allocations: 4 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.2629, allocations: 0 / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.457e-05/0.2629, allocations: 87.27 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2629, allocations: 0 / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002333/0.2631, allocations: 12 kB / 0.9049 GB, free: 58.7 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 (2): * Single equations (assignments): 2 * 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.0005601/0.2637, allocations: 0.7513 MB / 0.9056 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.264, allocations: 63.94 kB / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.264, allocations: 0 / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.2642, allocations: 40.03 kB / 0.9057 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.2644, allocations: 3.984 kB / 0.9057 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.265, allocations: 182.2 kB / 0.9059 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.2652, allocations: 0.677 MB / 0.9065 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.676e-05/0.2653, allocations: 11.94 kB / 0.9066 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.2654, allocations: 15.42 kB / 0.9066 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.2654, allocations: 0 / 0.9066 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.2776, allocations: 1.377 MB / 0.9079 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.2779, allocations: 210.8 kB / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/1.862, allocations: 3.938 kB / 0.9081 GB, free: 55.4 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)