Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.0007639/0.0007637, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008868/0.0008868, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.766/1.766, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005671/0.0005673, allocations: 15.53 kB / 0.6738 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3009, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001719/0.3027, allocations: 1.117 MB / 0.7885 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004603/0.3032, allocations: 209.4 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.3032, allocations: 0 / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.3032, allocations: 3.938 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.68e-05/0.3033, allocations: 0 / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.3035, allocations: 23.91 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.432e-05/0.3036, allocations: 23.92 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/0.3037, allocations: 4 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.759e-05/0.3037, allocations: 11.92 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.3038, allocations: 8 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.3038, allocations: 0 / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.835e-05/0.3039, allocations: 27.97 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.3039, allocations: 3.984 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.3039, allocations: 33.64 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.937e-05/0.304, allocations: 28.19 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.304, allocations: 0 / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.304, allocations: 0 / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.3041, allocations: 3.938 kB / 0.7889 GB, free: 10.34 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.0004785/0.3045, allocations: 343.3 kB / 0.7892 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3046, allocations: 8.031 kB / 0.7892 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.3046, allocations: 34.56 kB / 0.7892 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.3047, allocations: 4 kB / 0.7892 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3049, allocations: 167 kB / 0.7894 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.3049, allocations: 4 kB / 0.7894 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.3049, allocations: 3.984 kB / 0.7894 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.3051, allocations: 57.67 kB / 0.7894 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3051, allocations: 0 / 0.7894 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.3052, allocations: 3.938 kB / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3052, allocations: 0 / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.3054, allocations: 47.91 kB / 0.7895 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.3057, allocations: 252.9 kB / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3059, allocations: 38.56 kB / 0.7898 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.949e-05/0.306, allocations: 28.91 kB / 0.7898 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.306, allocations: 7.984 kB / 0.7898 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.306, allocations: 34.5 kB / 0.7898 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.306, allocations: 0 / 0.7898 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003451/0.3064, allocations: 97.55 kB / 0.7899 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3064, allocations: 51.41 kB / 0.79 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.3065, allocations: 109.8 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.3065, allocations: 25.83 kB / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.3066, allocations: 88.14 kB / 0.7902 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.3066, allocations: 3.906 kB / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.3066, allocations: 0 / 0.7902 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3067, allocations: 318.8 kB / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.3068, allocations: 19.98 kB / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/0.3069, allocations: 23.98 kB / 0.7905 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.475e-05/0.307, allocations: 23.92 kB / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.307, allocations: 0 / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001782/0.3072, allocations: 77.72 kB / 0.7906 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3072, allocations: 8 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.3072, allocations: 0 / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3072, allocations: 0 / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.3073, allocations: 11.98 kB / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3073, allocations: 0 / 0.7907 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.3074, allocations: 19.97 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.3074, allocations: 0 / 0.7907 GB, free: 8.234 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/0.3075, allocations: 105.8 kB / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.3075, allocations: 8 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.3078, allocations: 92.7 kB / 0.7909 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3078, allocations: 3.938 kB / 0.7909 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3078, allocations: 0 / 0.7909 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3078, allocations: 0 / 0.7909 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.308, allocations: 165.6 kB / 0.791 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.308, allocations: 7.938 kB / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.3081, allocations: 11.98 kB / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3081, allocations: 0 / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3081, allocations: 4 kB / 0.7911 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3081, allocations: 4 kB / 0.7911 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3081, allocations: 0 / 0.7911 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.3083, allocations: 187.3 kB / 0.7912 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.3084, allocations: 81.09 kB / 0.7913 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3084, allocations: 0 / 0.7913 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.3085, allocations: 8 kB / 0.7913 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.3086, allocations: 3.984 kB / 0.7913 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.3086, allocations: 0 / 0.7913 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.879e-05/0.3086, allocations: 83.28 kB / 0.7914 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3086, allocations: 0 / 0.7914 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002082/0.3088, allocations: 4 kB / 0.7914 GB, free: 7.379 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 (3): * Single equations (assignments): 3 * 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.0005253/0.3094, allocations: 0.7128 MB / 0.7921 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.3096, allocations: 47.91 kB / 0.7922 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3096, allocations: 4 kB / 0.7922 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.3097, allocations: 32.08 kB / 0.7922 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.31, allocations: 7.938 kB / 0.7922 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.3104, allocations: 162.2 kB / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.3107, allocations: 0.677 MB / 0.793 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.517e-05/0.3107, allocations: 7.984 kB / 0.793 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.3108, allocations: 7.438 kB / 0.793 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of SimCode: time 3.155e-06/0.3108, allocations: 0 / 0.793 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.322, allocations: 1.118 MB / 0.7941 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.3223, allocations: 198.3 kB / 0.7943 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.077, allocations: 5.625 kB / 0.7943 GB, free: 4.457 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: