Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_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.001187/0.001187, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001268/0.001268, allocations: 196.2 kB / 16.25 MB, free: 6.621 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.424/1.424, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.667/1.667, allocations: 292.3 MB / 0.5486 GB, free: 13.66 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.001411/0.001411, allocations: 66.16 kB / 0.6711 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2394, allocations: 114.5 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002477/0.2419, allocations: 1.356 MB / 0.7843 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.2429, allocations: 0.5751 MB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.243, allocations: 0 / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.243, allocations: 3.984 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.321e-05/0.243, allocations: 7.922 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.2434, allocations: 79.72 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.17e-05/0.2435, allocations: 23.86 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.2435, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.409e-05/0.2436, allocations: 11.98 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.914e-05/0.2436, allocations: 7.938 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.2436, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.2439, allocations: 151.7 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.2439, allocations: 0 / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.2439, allocations: 7.984 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.2441, allocations: 96 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2441, allocations: 8 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2441, allocations: 0 / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.2442, allocations: 0 / 0.7852 GB, free: 11.49 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005298/0.2447, allocations: 342 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.2447, allocations: 8.031 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.094e-05/0.2448, allocations: 42.73 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004484/0.2453, allocations: 28.91 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2454, allocations: 160.4 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.2454, allocations: 4.312 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.2455, allocations: 384 / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.2456, allocations: 50.22 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2457, allocations: 7.922 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2457, allocations: 0 / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.2457, allocations: 4 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.2458, allocations: 31.91 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.246, allocations: 157.7 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.2462, allocations: 34.56 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.278e-05/0.2463, allocations: 20.91 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.2464, allocations: 7.938 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.2464, allocations: 30.56 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2464, allocations: 0 / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003516/0.2468, allocations: 77.53 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.2468, allocations: 51.53 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.2469, allocations: 105.8 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.2469, allocations: 25.7 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.2469, allocations: 80.14 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.247, allocations: 15.84 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.247, allocations: 13.7 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2472, allocations: 318.8 kB / 0.7868 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.2472, allocations: 11.98 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.2473, allocations: 19.98 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.2474, allocations: 28.78 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2474, allocations: 0 / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001643/0.2476, allocations: 61.73 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2476, allocations: 11.97 kB / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2476, allocations: 0 / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2477, allocations: 0 / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.2478, allocations: 7.984 kB / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2478, allocations: 0 / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.2478, allocations: 7.906 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.2479, allocations: 3.984 kB / 0.7869 GB, free: 9.523 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 7.842e-05/0.248, allocations: 109.8 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.248, allocations: 7.938 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.248, allocations: 7.062 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.248, allocations: 0 / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.248, allocations: 0 / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.248, allocations: 4 kB / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.2482, allocations: 153.7 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2482, allocations: 0 / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-05/0.2482, allocations: 11.92 kB / 0.7872 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2483, allocations: 7.938 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2483, allocations: 7.984 kB / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2483, allocations: 0 / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2483, allocations: 0 / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.2485, allocations: 77.11 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.2486, allocations: 89.09 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.2486, allocations: 7.969 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.82e-05/0.2487, allocations: 3.938 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.2487, allocations: 0 / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2487, allocations: 7.984 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.199e-05/0.2487, allocations: 75.28 kB / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2487, allocations: 0 / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001993/0.2489, allocations: 12 kB / 0.7875 GB, free: 8.852 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.0005855/0.2495, allocations: 0.64 MB / 0.7881 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.2497, allocations: 32 kB / 0.7881 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2497, allocations: 0 / 0.7881 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.266e-05/0.2498, allocations: 15.92 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.2501, allocations: 15.98 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.2506, allocations: 162.5 kB / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.2509, allocations: 0.6768 MB / 0.789 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.457e-05/0.251, allocations: 4 kB / 0.789 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.251, allocations: 15.42 kB / 0.789 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.251, allocations: 0 / 0.789 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.2624, allocations: 1.469 MB / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.2626, allocations: 229 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/1.931, allocations: 0 / 0.7907 GB, free: 5.645 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)