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: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009364/0.0009364, allocations: 91.84 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.001773/0.001774, 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.789/1.789, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.822/1.822, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005291/0.0005291, allocations: 21.59 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2303, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001433/0.2317, allocations: 1.125 MB / 0.7884 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000424/0.2322, allocations: 201.4 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.2322, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.18e-05/0.2323, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.785e-05/0.2323, allocations: 3.938 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.2325, allocations: 27.89 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.979e-05/0.2326, allocations: 23.94 kB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.785e-05/0.2327, allocations: 7.984 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.2327, allocations: 4 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.2328, allocations: 15.92 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.2328, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.851e-05/0.2329, allocations: 19.98 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.287e-06/0.2329, allocations: 4 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.2329, allocations: 25.7 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.786e-05/0.233, allocations: 28.17 kB / 0.7887 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.233, allocations: 4 kB / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.073e-06/0.233, allocations: 0 / 0.7887 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.233, allocations: 0 / 0.7887 GB, free: 10.41 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.0004619/0.2335, allocations: 343.2 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2335, allocations: 12.03 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.2337, allocations: 4 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.2338, allocations: 175 kB / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.2338, allocations: 4 kB / 0.7892 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.2338, allocations: 0 / 0.7892 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.234, allocations: 53.67 kB / 0.7893 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.234, allocations: 0 / 0.7893 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.234, allocations: 4 kB / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2341, allocations: 0 / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.2342, allocations: 47.91 kB / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.2346, allocations: 256.9 kB / 0.7896 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.2347, allocations: 38.56 kB / 0.7896 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.428e-05/0.2348, allocations: 32.89 kB / 0.7896 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.2348, allocations: 3.984 kB / 0.7896 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.2349, allocations: 30.56 kB / 0.7897 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.2349, allocations: 3.938 kB / 0.7897 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003335/0.2352, allocations: 109.5 kB / 0.7898 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.2353, allocations: 51.41 kB / 0.7898 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.928e-05/0.2353, allocations: 105.9 kB / 0.7899 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.2354, allocations: 25.7 kB / 0.79 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.2354, allocations: 80.14 kB / 0.79 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.2354, allocations: 11.89 kB / 0.79 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.2354, allocations: 0 / 0.79 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2356, allocations: 314.8 kB / 0.7903 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.2356, allocations: 19.98 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.2357, allocations: 23.98 kB / 0.7904 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.54e-05/0.2358, allocations: 23.97 kB / 0.7904 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2358, allocations: 0 / 0.7904 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001861/0.236, allocations: 77.67 kB / 0.7905 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.236, allocations: 4 kB / 0.7905 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.236, allocations: 0 / 0.7905 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.236, allocations: 3.984 kB / 0.7905 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.2361, allocations: 12 kB / 0.7905 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2361, allocations: 8.031 kB / 0.7905 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.2362, allocations: 7.984 kB / 0.7905 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2362, allocations: 3.953 kB / 0.7905 GB, free: 8.344 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 6.228e-05/0.2363, allocations: 109.8 kB / 0.7906 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.2363, allocations: 0 / 0.7906 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.2365, allocations: 88.77 kB / 0.7907 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2365, allocations: 4 kB / 0.7907 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2366, allocations: 0 / 0.7907 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2366, allocations: 3.938 kB / 0.7907 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.2367, allocations: 161.6 kB / 0.7909 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2367, allocations: 0 / 0.7909 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.355e-05/0.2368, allocations: 16 kB / 0.7909 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2368, allocations: 3.938 kB / 0.7909 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.2368, allocations: 4 kB / 0.7909 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2368, allocations: 0 / 0.7909 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2368, allocations: 3.984 kB / 0.7909 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.2371, allocations: 183.4 kB / 0.7911 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.2371, allocations: 77.11 kB / 0.7912 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.2371, allocations: 0 / 0.7912 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.2372, allocations: 11.98 kB / 0.7912 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.2372, allocations: 0 / 0.7912 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.2373, allocations: 8 kB / 0.7912 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.921e-05/0.2373, allocations: 75.28 kB / 0.7912 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.272e-06/0.2373, allocations: 4 kB / 0.7912 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002079/0.2375, allocations: 19.88 kB / 0.7913 GB, free: 7.484 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.0001074/0.2376, allocations: 99.23 kB / 0.7914 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.2378, allocations: 47.97 kB / 0.7914 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2378, allocations: 0 / 0.7914 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.296e-05/0.2379, allocations: 28.39 kB / 0.7914 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.2382, allocations: 11.89 kB / 0.7914 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.2385, allocations: 128.1 kB / 0.7916 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.2388, allocations: 0.6848 MB / 0.7922 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.2388, allocations: 0 / 0.7922 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.2388, allocations: 7.438 kB / 0.7922 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2388, allocations: 0 / 0.7922 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of Templates: time 0.002272/0.2411, allocations: 419.8 kB / 0.7926 GB, free: 6.012 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: