Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6097/0.6097, allocations: 94.78 MB / 102.3 MB, free: 10.13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001229/0.001229, allocations: 177.8 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.483/1.483, allocations: 170.6 MB / 319.4 MB, free: 9.348 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001627/0.001628, allocations: 100.2 kB / 381.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.031e-05, allocations: 4 kB / 449.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1491, allocations: 61.52 MB / 0.4987 GB, free: 4.129 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5987, allocations: 95.04 MB / 0.5915 GB, free: 6.922 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.5991, allocations: 84.53 kB / 0.5916 GB, free: 6.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009471/0.6086, allocations: 3.033 MB / 0.5945 GB, free: 3.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6086, allocations: 1.25 kB / 0.5945 GB, free: 3.879 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.6087, allocations: 0 / 0.5945 GB, free: 3.879 MB / 410.7 MB 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.0004027/0.6091, allocations: 363.6 kB / 0.5949 GB, free: 3.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.6091, allocations: 12.62 kB / 0.5949 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.6092, allocations: 4 kB / 0.5949 GB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.6093, allocations: 163.6 kB / 0.5951 GB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.6093, allocations: 4 kB / 0.5951 GB, free: 3.266 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.6094, allocations: 5.141 kB / 0.5951 GB, free: 3.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000105/0.6095, allocations: 4.938 kB / 0.5951 GB, free: 3.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.773e-05/0.6096, allocations: 39.22 kB / 0.5951 GB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.6096, allocations: 0 / 0.5951 GB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.6096, allocations: 0 / 0.5951 GB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6097, allocations: 0 / 0.5951 GB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.6099, allocations: 142.7 kB / 0.5952 GB, free: 3.047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.6101, allocations: 31.23 kB / 0.5953 GB, free: 3.008 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/0.6101, allocations: 8.859 kB / 0.5953 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.6101, allocations: 0 / 0.5953 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.6102, allocations: 34.64 kB / 0.5953 GB, free: 2.953 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.6102, allocations: 0 / 0.5953 GB, free: 2.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0011/0.6113, allocations: 416.7 kB / 0.5957 GB, free: 2.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.6113, allocations: 55.41 kB / 0.5958 GB, free: 2.414 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.791e-05/0.6114, allocations: 92.98 kB / 0.5959 GB, free: 2.316 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.6114, allocations: 29.64 kB / 0.5959 GB, free: 2.281 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.6115, allocations: 84.14 kB / 0.596 GB, free: 2.195 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.6115, allocations: 13.88 kB / 0.596 GB, free: 2.184 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.6115, allocations: 0 / 0.596 GB, free: 2.184 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.6116, allocations: 314.8 kB / 0.5963 GB, free: 1.867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.6117, allocations: 8 kB / 0.5963 GB, free: 1.859 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.6117, allocations: 8 kB / 0.5963 GB, free: 1.852 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.6117, allocations: 13.8 kB / 0.5963 GB, free: 1.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.6117, allocations: 0 / 0.5963 GB, free: 1.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.476e-05/0.6118, allocations: 53.69 kB / 0.5964 GB, free: 1.781 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6118, allocations: 4 kB / 0.5964 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6119, allocations: 0 / 0.5964 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.6119, allocations: 4 kB / 0.5964 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.298e-05/0.6119, allocations: 15.89 kB / 0.5964 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.612, allocations: 1.562 kB / 0.5964 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.612, allocations: 0 / 0.5964 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.612, allocations: 4 kB / 0.5964 GB, free: 1.754 MB / 410.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.718e-05/0.6121, allocations: 101 kB / 0.5965 GB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.6121, allocations: 11.89 kB / 0.5965 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.6123, allocations: 60.92 kB / 0.5966 GB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6123, allocations: 5.25 kB / 0.5966 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.6123, allocations: 3.953 kB / 0.5966 GB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6123, allocations: 0 / 0.5966 GB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.6127, allocations: 280 kB / 0.5968 GB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6127, allocations: 0 / 0.5968 GB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.657e-05/0.6128, allocations: 12 kB / 0.5968 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6128, allocations: 1.188 kB / 0.5968 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.6128, allocations: 1.406 kB / 0.5968 GB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.6128, allocations: 3.953 kB / 0.5968 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.6128, allocations: 11.97 kB / 0.5969 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.6131, allocations: 182.1 kB / 0.597 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.6132, allocations: 81.02 kB / 0.5971 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.6132, allocations: 5.391 kB / 0.5971 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.6133, allocations: 4 kB / 0.5971 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.6133, allocations: 12.05 kB / 0.5971 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.6133, allocations: 7.938 kB / 0.5971 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.217e-05/0.6134, allocations: 75.28 kB / 0.5972 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6134, allocations: 0 / 0.5972 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004007/0.6138, allocations: 67.86 kB / 0.5973 GB, free: 0.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (pSatDer) * Number of discrete variables: 0 () * Number of discrete 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 (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.0003843/0.6142, allocations: 190.8 kB / 0.5975 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.6144, allocations: 20 kB / 0.5975 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6144, allocations: 4 kB / 0.5975 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.015e-05/0.6144, allocations: 22.66 kB / 0.5975 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.6147, allocations: 5.094 kB / 0.5975 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.6151, allocations: 129.4 kB / 0.5976 GB, free: 376 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.6155, allocations: 0.6846 MB / 0.5983 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.351e-05/0.6155, allocations: 7.984 kB / 0.5983 GB, free: 15.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.6156, allocations: 11.44 kB / 0.5983 GB, free: 15.64 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6156, allocations: 0 / 0.5983 GB, free: 15.64 MB / 426.7 MB Notification: Performance of Templates: time 0.004559/0.6202, allocations: 1.495 MB / 0.5998 GB, free: 14.22 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)