Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 114.1 kB / 16.38 MB, free: 6.012 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.001111/0.001111, allocations: 187.1 kB / 17.3 MB, free: 5.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.46/1.46, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.816/1.816, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001429/0.001429, allocations: 72.12 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.219, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002325/0.2213, allocations: 1.287 MB / 0.7861 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2224, allocations: 0.6403 MB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.2224, allocations: 0 / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.2224, allocations: 0 / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.2225, allocations: 11.92 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.2229, allocations: 107.5 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.308e-05/0.223, allocations: 27.86 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.223, allocations: 0 / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.432e-05/0.2231, allocations: 19.94 kB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.2231, allocations: 7.984 kB / 0.7869 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.2232, allocations: 3.984 kB / 0.7869 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.2234, allocations: 143.8 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.2234, allocations: 0 / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.2235, allocations: 19.91 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.2237, allocations: 91.78 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2237, allocations: 3.984 kB / 0.7871 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2237, allocations: 0 / 0.7871 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.2237, allocations: 3.938 kB / 0.7871 GB, free: 0.7695 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004343/0.2241, allocations: 355.5 kB / 0.7875 GB, free: 380 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2242, allocations: 11.97 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003974/0.2246, allocations: 32.81 kB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2247, allocations: 164.4 kB / 0.7877 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.2247, allocations: 384 / 0.7877 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.2247, allocations: 8.359 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.2249, allocations: 58.22 kB / 0.7877 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2249, allocations: 192 / 0.7877 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.225, allocations: 7.938 kB / 0.7877 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.225, allocations: 0 / 0.7877 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.2251, allocations: 23.97 kB / 0.7877 GB, free: 28 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.367/0.5921, allocations: 159.4 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.5926, allocations: 77.23 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.769e-05/0.5927, allocations: 27.41 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.5927, allocations: 2.625 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.5927, allocations: 30.56 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 3.657e-06/0.5927, allocations: 0 / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.003122/0.5959, allocations: 0.5722 MB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.5959, allocations: 58.31 kB / 0.7886 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.596, allocations: 96.48 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.596, allocations: 25.7 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.028e-05/0.596, allocations: 87.55 kB / 0.7888 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.5961, allocations: 17.61 kB / 0.7889 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.5961, allocations: 26.42 kB / 0.7889 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.496e-05/0.5962, allocations: 315.4 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.5963, allocations: 40.55 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.5964, allocations: 39.47 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.5967, allocations: 82.72 kB / 0.7893 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5967, allocations: 0 / 0.7893 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003129/0.597, allocations: 126.4 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.597, allocations: 5.25 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.597, allocations: 0 / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.5971, allocations: 6.938 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.5973, allocations: 21.44 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5973, allocations: 4.938 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.5974, allocations: 10.2 kB / 0.7895 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.5974, allocations: 6.234 kB / 0.7895 GB, free: 47.72 MB / 0.6544 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 (7): * Single equations (assignments): 7 * 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 6.721e-05/0.5975, allocations: 112.8 kB / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.5975, allocations: 2.625 kB / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.794e-05/0.5976, allocations: 10.34 kB / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5976, allocations: 7.562 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.5976, allocations: 0 / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5976, allocations: 0 / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.5978, allocations: 188.5 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5978, allocations: 2.625 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.598, allocations: 24.62 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.598, allocations: 0.5 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.598, allocations: 4.422 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.598, allocations: 5.719 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5981, allocations: 1.438 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.5985, allocations: 192.5 kB / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.5986, allocations: 83.11 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.5986, allocations: 3.047 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.5988, allocations: 19.75 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.5988, allocations: 7 kB / 0.7901 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.5988, allocations: 6.094 kB / 0.7902 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.996e-05/0.5989, allocations: 77.66 kB / 0.7902 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5989, allocations: 0 / 0.7902 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002393/0.5991, allocations: 27.12 kB / 0.7903 GB, free: 47.17 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002077/0.5993, allocations: 138.1 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003237/0.5996, allocations: 82.98 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5997, allocations: 2.625 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.5998, allocations: 52.16 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.6001, allocations: 11.62 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.6007, allocations: 179.2 kB / 0.7907 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.488e-05/0.6008, allocations: 0.6832 MB / 0.7914 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.6009, allocations: 20.97 kB / 0.7914 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6009, allocations: 0 / 0.7914 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.003125/0.604, allocations: 1.573 MB / 0.7929 GB, free: 46.18 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)