Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_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.554/1.554, allocations: 252 MB / 267 MB, free: 10.99 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.00129/0.00129, allocations: 189.1 kB / 326.6 MB, free: 2.234 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/2, allocations: 205.4 MB / 0.5777 GB, free: 20.3 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.0007806/0.0007805, allocations: 92 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004797, allocations: 9.281 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2623, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001546/0.2639, allocations: 1.016 MB / 0.9013 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009304/0.2648, allocations: 0.5369 MB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.2649, allocations: 0 / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.2649, allocations: 4 kB / 0.9018 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.96e-05/0.265, allocations: 3.938 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.2653, allocations: 75.7 kB / 0.9019 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.293e-05/0.2654, allocations: 23.86 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.2655, allocations: 7.922 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.2655, allocations: 7.938 kB / 0.9019 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.2656, allocations: 4 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.2656, allocations: 3.938 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.2659, allocations: 143.7 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.2659, allocations: 3.984 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.266, allocations: 29.7 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.2661, allocations: 68.14 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2661, allocations: 0 / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2662, allocations: 0 / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2662, allocations: 0 / 0.9022 GB, free: 61.89 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003287/0.2665, allocations: 339.4 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.2666, allocations: 8.031 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.2666, allocations: 38.5 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004799/0.2671, allocations: 31.95 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.882e-05/0.2672, allocations: 163 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2672, allocations: 0 / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.2672, allocations: 0 / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.2674, allocations: 49.66 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2674, allocations: 4 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2675, allocations: 0 / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2675, allocations: 0 / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.2676, allocations: 19.98 kB / 0.9028 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.2678, allocations: 169.3 kB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.268, allocations: 50.52 kB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.2681, allocations: 20.91 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.2681, allocations: 3.938 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.2681, allocations: 30.56 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.2681, allocations: 0 / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003546/0.2685, allocations: 77.59 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.2685, allocations: 51.41 kB / 0.9032 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.195e-05/0.2686, allocations: 105.8 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.2686, allocations: 25.7 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.574e-05/0.2686, allocations: 80.14 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.2687, allocations: 3.906 kB / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.2687, allocations: 0 / 0.9034 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.2687, allocations: 326.9 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.2688, allocations: 7.984 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.081e-05/0.2689, allocations: 15.98 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.975e-05/0.2689, allocations: 4 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.269, allocations: 4 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001493/0.2691, allocations: 61.73 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.2691, allocations: 14.11 kB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2691, allocations: 0 / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2692, allocations: 0 / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.2693, allocations: 15.94 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2693, allocations: 0 / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.146e-05/0.2693, allocations: 3.984 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.2694, allocations: 4 kB / 0.9038 GB, free: 59.98 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.123e-05/0.2694, allocations: 113.8 kB / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.2694, allocations: 0 / 0.9039 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.2695, allocations: 11.12 kB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2695, allocations: 0 / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2695, allocations: 3.984 kB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2695, allocations: 0 / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.165e-05/0.2696, allocations: 157.6 kB / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2696, allocations: 0 / 0.9041 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-05/0.2697, allocations: 11.98 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2697, allocations: 0 / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2697, allocations: 4 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2698, allocations: 0 / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2698, allocations: 3.938 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.27, allocations: 93 kB / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.27, allocations: 85 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.2701, allocations: 0 / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.2702, allocations: 4 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.2702, allocations: 3.984 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.2702, allocations: 0 / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.274e-05/0.2702, allocations: 79.28 kB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2702, allocations: 0 / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000283/0.2705, allocations: 19.94 kB / 0.9044 GB, free: 59.3 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.0004312/0.271, allocations: 0.632 MB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.2712, allocations: 31.95 kB / 0.905 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2712, allocations: 0 / 0.905 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.483e-05/0.2713, allocations: 19.97 kB / 0.9051 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.2716, allocations: 4 kB / 0.9051 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005075/0.2721, allocations: 158.4 kB / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.2722, allocations: 0.6809 MB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000129/0.2723, allocations: 4 kB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.2724, allocations: 11.44 kB / 0.9059 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/0.2724, allocations: 0 / 0.9059 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.2866, allocations: 1.372 MB / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.2868, allocations: 226.8 kB / 0.9075 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.45/1.736, allocations: 0 / 0.9075 GB, free: 56.23 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)