Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008011/0.0008012, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005642/0.005642, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.647/1.647, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005248/0.0005248, allocations: 16.19 kB / 0.6744 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.255, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001561/0.2566, allocations: 1.133 MB / 0.7891 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.2576, allocations: 0.6103 MB / 0.7897 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.2576, allocations: 4 kB / 0.7897 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.2576, allocations: 0 / 0.7897 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.273e-05/0.2577, allocations: 0 / 0.7897 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.258, allocations: 87.62 kB / 0.7898 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.2581, allocations: 27.92 kB / 0.7898 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.3e-05/0.2582, allocations: 4 kB / 0.7898 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.2582, allocations: 11.98 kB / 0.7898 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.2583, allocations: 7.938 kB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.2583, allocations: 4 kB / 0.7898 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.2586, allocations: 151.7 kB / 0.79 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.2586, allocations: 3.984 kB / 0.79 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.2586, allocations: 37.64 kB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.2589, allocations: 100 kB / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2589, allocations: 3.938 kB / 0.7901 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2589, allocations: 0 / 0.7901 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2589, allocations: 0 / 0.7901 GB, free: 9.293 MB / 0.6075 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.0004432/0.2593, allocations: 363.4 kB / 0.7905 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.2594, allocations: 8.031 kB / 0.7905 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.2594, allocations: 30.75 kB / 0.7905 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004044/0.2598, allocations: 28.89 kB / 0.7905 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.2599, allocations: 164.4 kB / 0.7907 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.26, allocations: 4.375 kB / 0.7907 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.26, allocations: 384 / 0.7907 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.2602, allocations: 74.19 kB / 0.7908 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2602, allocations: 3.938 kB / 0.7908 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2603, allocations: 4 kB / 0.7908 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2603, allocations: 0 / 0.7908 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.2605, allocations: 67.88 kB / 0.7908 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.261, allocations: 284.7 kB / 0.7911 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.2613, allocations: 62.47 kB / 0.7912 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.2614, allocations: 44.89 kB / 0.7912 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.2614, allocations: 3.984 kB / 0.7912 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2615, allocations: 34.56 kB / 0.7912 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2615, allocations: 0 / 0.7912 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0005667/0.2621, allocations: 129.5 kB / 0.7914 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.2621, allocations: 51.41 kB / 0.7914 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.2622, allocations: 102 kB / 0.7915 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2622, allocations: 29.7 kB / 0.7915 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.2623, allocations: 88.08 kB / 0.7916 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.2623, allocations: 7.906 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.2624, allocations: 9.719 kB / 0.7916 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2625, allocations: 314.8 kB / 0.7919 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.2627, allocations: 31.98 kB / 0.792 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.2628, allocations: 31.97 kB / 0.792 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.263, allocations: 72.8 kB / 0.7921 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.2631, allocations: 3.938 kB / 0.7921 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003073/0.2634, allocations: 97.64 kB / 0.7922 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2634, allocations: 8 kB / 0.7922 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2634, allocations: 0 / 0.7922 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2634, allocations: 3.984 kB / 0.7922 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2636, allocations: 15.98 kB / 0.7922 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2636, allocations: 0 / 0.7922 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.31e-05/0.2637, allocations: 16.02 kB / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.2637, allocations: 0 / 0.7922 GB, free: 6.91 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.072e-05/0.2638, allocations: 109.8 kB / 0.7923 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.2638, allocations: 4 kB / 0.7923 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.2638, allocations: 7.125 kB / 0.7923 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.2639, allocations: 3.984 kB / 0.7923 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2639, allocations: 4 kB / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2639, allocations: 0 / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.264, allocations: 169.5 kB / 0.7925 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2641, allocations: 3.938 kB / 0.7925 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.2642, allocations: 19.92 kB / 0.7925 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2642, allocations: 0 / 0.7925 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.2642, allocations: 3.984 kB / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2642, allocations: 0 / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2642, allocations: 0 / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.2646, allocations: 195.4 kB / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.2646, allocations: 81.14 kB / 0.7928 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.2646, allocations: 3.984 kB / 0.7928 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.2648, allocations: 8 kB / 0.7928 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.2648, allocations: 11.98 kB / 0.7928 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.2648, allocations: 0 / 0.7928 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.2649, allocations: 79.47 kB / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2649, allocations: 0 / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002317/0.2651, allocations: 12 kB / 0.7929 GB, free: 6.113 MB / 0.6075 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 (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.0006974/0.2658, allocations: 0.7514 MB / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.2661, allocations: 71.97 kB / 0.7937 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2661, allocations: 0 / 0.7937 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.2663, allocations: 39.91 kB / 0.7937 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.2666, allocations: 0 / 0.7937 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005675/0.2671, allocations: 182.3 kB / 0.7939 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.2675, allocations: 0.6809 MB / 0.7946 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.502e-05/0.2676, allocations: 8 kB / 0.7946 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.2677, allocations: 11.42 kB / 0.7946 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2677, allocations: 11.94 kB / 0.7946 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01/0.2777, allocations: 1.39 MB / 0.796 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.2779, allocations: 214.2 kB / 0.7962 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/1.91, allocations: 3.938 kB / 0.7962 GB, free: 2.762 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)