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.0007692/0.0007693, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005436/0.005436, allocations: 174.1 kB / 16.27 MB, free: 6.613 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.384/1.384, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.697/1.697, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005163/0.0005164, allocations: 17.53 kB / 0.6743 GB, free: 25.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2135, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001747/0.2153, allocations: 1.132 MB / 0.789 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005493/0.2159, allocations: 209.4 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.216, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.216, allocations: 3.938 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.155e-05/0.216, allocations: 3.938 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.2163, allocations: 27.91 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.953e-05/0.2163, allocations: 23.92 kB / 0.7892 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.23e-05/0.2164, allocations: 4 kB / 0.7892 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.2165, allocations: 8 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.2165, allocations: 11.92 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2165, allocations: 0 / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-05/0.2166, allocations: 19.98 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.2167, allocations: 7.984 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.2167, allocations: 37.62 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2169, allocations: 44.12 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2169, allocations: 0 / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.155e-06/0.2169, allocations: 0 / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.2169, allocations: 0 / 0.7894 GB, free: 10.04 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.0004596/0.2174, allocations: 339.5 kB / 0.7897 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.2174, allocations: 12.03 kB / 0.7897 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.2176, allocations: 0.9375 kB / 0.7897 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.2177, allocations: 172.3 kB / 0.7899 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.2178, allocations: 8.312 kB / 0.7899 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.2178, allocations: 384 / 0.7899 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.218, allocations: 58.17 kB / 0.7899 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.218, allocations: 192 / 0.7899 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.218, allocations: 3.938 kB / 0.7899 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.218, allocations: 0 / 0.7899 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.2182, allocations: 51.95 kB / 0.79 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.2186, allocations: 245 kB / 0.7902 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2188, allocations: 46.5 kB / 0.7903 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2189, allocations: 36.83 kB / 0.7903 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.2189, allocations: 3.984 kB / 0.7903 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.219, allocations: 30.56 kB / 0.7903 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 3.046e-06/0.219, allocations: 4 kB / 0.7903 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004183/0.2194, allocations: 97.55 kB / 0.7904 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.2194, allocations: 51.53 kB / 0.7905 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.726e-05/0.2195, allocations: 101.9 kB / 0.7906 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.2196, allocations: 25.7 kB / 0.7906 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.2196, allocations: 84.14 kB / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.2197, allocations: 11.89 kB / 0.7907 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.2197, allocations: 9.719 kB / 0.7907 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2198, allocations: 310.8 kB / 0.791 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.473e-05/0.2199, allocations: 31.92 kB / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-05/0.22, allocations: 15.98 kB / 0.791 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.2202, allocations: 56.81 kB / 0.7911 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2202, allocations: 0 / 0.7911 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002221/0.2204, allocations: 81.59 kB / 0.7912 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.2205, allocations: 8 kB / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2205, allocations: 0 / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2205, allocations: 4.031 kB / 0.7912 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.2206, allocations: 11.98 kB / 0.7912 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2207, allocations: 0 / 0.7912 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.2207, allocations: 11.94 kB / 0.7912 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.2207, allocations: 0 / 0.7912 GB, free: 7.922 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.762e-05/0.2208, allocations: 109.8 kB / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.2209, allocations: 15.98 kB / 0.7913 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.2212, allocations: 80.78 kB / 0.7914 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2212, allocations: 0 / 0.7914 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2212, allocations: 0 / 0.7914 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.2212, allocations: 4 kB / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.2214, allocations: 165.6 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2214, allocations: 0 / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.2215, allocations: 15.98 kB / 0.7916 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.2215, allocations: 3.938 kB / 0.7916 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.2215, allocations: 4 kB / 0.7916 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2215, allocations: 0 / 0.7916 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2215, allocations: 3.938 kB / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.2218, allocations: 183.4 kB / 0.7918 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.2218, allocations: 77.11 kB / 0.7918 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2218, allocations: 0 / 0.7918 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.2219, allocations: 11.98 kB / 0.7918 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.222, allocations: 4 kB / 0.7919 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.222, allocations: 0 / 0.7919 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.222, allocations: 87.55 kB / 0.7919 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.222, allocations: 0 / 0.7919 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002176/0.2223, allocations: 4 kB / 0.7919 GB, free: 7.066 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 (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.0001258/0.2224, allocations: 99.25 kB / 0.792 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.2226, allocations: 55.89 kB / 0.7921 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2226, allocations: 0 / 0.7921 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.829e-05/0.2227, allocations: 24.12 kB / 0.7921 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.223, allocations: 11.97 kB / 0.7921 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.2234, allocations: 136.7 kB / 0.7923 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.2237, allocations: 0.677 MB / 0.7929 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.2238, allocations: 3.984 kB / 0.7929 GB, free: 6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.2238, allocations: 7.438 kB / 0.7929 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2238, allocations: 4 kB / 0.7929 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of Templates: time 0.00282/0.2266, allocations: 432.3 kB / 0.7933 GB, free: 5.566 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: