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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.518/1.518, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 185.9 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 102.1 kB / 0.748 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 59.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2698, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002552/0.2724, allocations: 1.356 MB / 0.9836 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2736, allocations: 0.66 MB / 0.9842 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.2736, allocations: 0 / 0.9842 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.2736, allocations: 3.938 kB / 0.9842 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.529e-05/0.2737, allocations: 0 / 0.9842 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.2741, allocations: 95.62 kB / 0.9843 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.536e-05/0.2742, allocations: 23.92 kB / 0.9843 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.2742, allocations: 0 / 0.9843 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.983e-05/0.2743, allocations: 19.92 kB / 0.9843 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.2744, allocations: 11.98 kB / 0.9843 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.2744, allocations: 0 / 0.9843 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.2747, allocations: 147.7 kB / 0.9845 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.2747, allocations: 15.91 kB / 0.9845 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.2747, allocations: 4 kB / 0.9845 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.275, allocations: 99.98 kB / 0.9846 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.275, allocations: 0 / 0.9846 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.003e-06/0.275, allocations: 0 / 0.9846 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.275, allocations: 4 kB / 0.9846 GB, free: 7.934 MB / 0.7136 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.0005172/0.2755, allocations: 355.4 kB / 0.9849 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2756, allocations: 8.031 kB / 0.985 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004114/0.276, allocations: 28.89 kB / 0.985 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2761, allocations: 168.3 kB / 0.9851 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.2761, allocations: 4.375 kB / 0.9851 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.2762, allocations: 4.375 kB / 0.9851 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.2763, allocations: 58.2 kB / 0.9852 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2764, allocations: 192 / 0.9852 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.2764, allocations: 11.88 kB / 0.9852 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2764, allocations: 0 / 0.9852 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.2765, allocations: 31.91 kB / 0.9852 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.2767, allocations: 165.7 kB / 0.9854 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.2771, allocations: 62.53 kB / 0.9855 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.2772, allocations: 28.94 kB / 0.9855 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.2772, allocations: 0 / 0.9855 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.2772, allocations: 38.56 kB / 0.9855 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.425e-06/0.2772, allocations: 0 / 0.9855 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.003176/0.2804, allocations: 0.5719 MB / 0.9861 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.2805, allocations: 55.41 kB / 0.9861 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.007e-05/0.2805, allocations: 97.86 kB / 0.9862 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.2805, allocations: 25.7 kB / 0.9863 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.2806, allocations: 80.14 kB / 0.9863 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.2806, allocations: 23.7 kB / 0.9864 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.2807, allocations: 25.7 kB / 0.9864 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.2808, allocations: 310.8 kB / 0.9867 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.2809, allocations: 44.08 kB / 0.9867 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.2811, allocations: 39.95 kB / 0.9868 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.2813, allocations: 80.83 kB / 0.9868 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2814, allocations: 3.984 kB / 0.9868 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000335/0.2817, allocations: 129.5 kB / 0.987 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2817, allocations: 7.938 kB / 0.987 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2817, allocations: 0 / 0.987 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2817, allocations: 0 / 0.987 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.2819, allocations: 31.91 kB / 0.987 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.282, allocations: 0 / 0.987 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.2821, allocations: 4 kB / 0.987 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.2821, allocations: 11.98 kB / 0.987 GB, free: 5.191 MB / 0.7136 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 8.333e-05/0.2822, allocations: 109.8 kB / 0.9871 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.2822, allocations: 7.938 kB / 0.9871 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.767e-05/0.2823, allocations: 11.97 kB / 0.9871 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2823, allocations: 0 / 0.9871 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.2823, allocations: 3.938 kB / 0.9871 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.2823, allocations: 7.984 kB / 0.9872 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.2825, allocations: 187.6 kB / 0.9873 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2825, allocations: 64 / 0.9873 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.2827, allocations: 31.97 kB / 0.9874 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.2827, allocations: 7.922 kB / 0.9874 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.2828, allocations: 0 / 0.9874 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2828, allocations: 4 kB / 0.9874 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2828, allocations: 0 / 0.9874 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005788/0.2886, allocations: 1.574 MB / 0.9889 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.2886, allocations: 85 kB / 0.989 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.2886, allocations: 4.031 kB / 0.989 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.2888, allocations: 8 kB / 0.989 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.2889, allocations: 7.984 kB / 0.989 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.2889, allocations: 4.094 kB / 0.989 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.421e-05/0.2889, allocations: 83.27 kB / 0.9891 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2889, allocations: 0 / 0.9891 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002997/0.2892, allocations: 35.94 kB / 0.9891 GB, free: 2.793 MB / 0.7136 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.0002151/0.2894, allocations: 127.2 kB / 0.9892 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.2898, allocations: 91.95 kB / 0.9893 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2898, allocations: 0 / 0.9893 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.2899, allocations: 43.95 kB / 0.9894 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.2901, allocations: 19.12 kB / 0.9894 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007073/0.2908, allocations: 290.6 kB / 0.9897 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.2911, allocations: 0.683 MB / 0.9903 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.2913, allocations: 27.94 kB / 0.9904 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.2914, allocations: 15.42 kB / 0.9904 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.2914, allocations: 0 / 0.9904 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of Templates: time 0.003767/0.2951, allocations: 1.505 MB / 0.9919 GB, free: 15.95 MB / 0.7292 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)