Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001155/0.001155, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.161/1.161, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.598/1.598, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001273/0.001273, allocations: 67.91 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.182, allocations: 114.6 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002052/0.1841, allocations: 1.245 MB / 0.7853 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004058/0.1845, allocations: 231.3 kB / 0.7855 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.433e-05/0.1845, allocations: 0 / 0.7855 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.1845, allocations: 11.92 kB / 0.7855 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.216e-05/0.1846, allocations: 3.938 kB / 0.7855 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.1848, allocations: 39.83 kB / 0.7856 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.38e-05/0.1849, allocations: 19.92 kB / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 2.895e-05/0.1849, allocations: 0 / 0.7856 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.805e-05/0.1849, allocations: 12 kB / 0.7856 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.779e-05/0.185, allocations: 11.97 kB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.185, allocations: 7.938 kB / 0.7856 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.1851, allocations: 43.95 kB / 0.7857 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.1851, allocations: 4 kB / 0.7857 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.1852, allocations: 4 kB / 0.7857 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.99e-05/0.1853, allocations: 36.17 kB / 0.7857 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1853, allocations: 3.984 kB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1853, allocations: 0 / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.1853, allocations: 4 kB / 0.7857 GB, free: 2.215 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003212/0.1856, allocations: 343.5 kB / 0.7861 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.662e-05/0.1857, allocations: 8.031 kB / 0.7861 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.1858, allocations: 12.92 kB / 0.7861 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.529e-05/0.1859, allocations: 160.4 kB / 0.7862 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1859, allocations: 8.375 kB / 0.7862 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.1859, allocations: 4.375 kB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.186, allocations: 46.19 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.186, allocations: 192 / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.186, allocations: 7.938 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1861, allocations: 0 / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.306e-05/0.1861, allocations: 15.98 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.1862, allocations: 161.6 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.603e-05/0.1863, allocations: 38.64 kB / 0.7865 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.1864, allocations: 24.97 kB / 0.7865 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.1864, allocations: 0 / 0.7865 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.1864, allocations: 42.5 kB / 0.7866 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 7.32e-07/0.1864, allocations: 0 / 0.7866 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.001784/0.1882, allocations: 0.498 MB / 0.787 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.1882, allocations: 51.41 kB / 0.7871 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.894e-05/0.1883, allocations: 97.8 kB / 0.7872 GB, free: 488 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1883, allocations: 25.7 kB / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.1883, allocations: 84.14 kB / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1884, allocations: 23.64 kB / 0.7873 GB, free: 344 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.1884, allocations: 21.72 kB / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.2607/0.4492, allocations: 315.6 kB / 0.7876 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.4493, allocations: 21.03 kB / 0.7877 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.4493, allocations: 22.41 kB / 0.7877 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/0.4494, allocations: 62.91 kB / 0.7877 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4494, allocations: 0 / 0.7877 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001297/0.4495, allocations: 95.98 kB / 0.7878 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4496, allocations: 6.719 kB / 0.7878 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4496, allocations: 0 / 0.7878 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4496, allocations: 5.156 kB / 0.7878 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.4498, allocations: 18.62 kB / 0.7879 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4498, allocations: 0 / 0.7879 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.654e-05/0.4499, allocations: 0 / 0.7879 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4499, allocations: 4.016 kB / 0.7879 GB, free: 47.95 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 (9): * Single equations (assignments): 9 * 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.282e-05/0.45, allocations: 113.1 kB / 0.788 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.45, allocations: 1.312 kB / 0.788 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.4501, allocations: 18.66 kB / 0.788 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4501, allocations: 0.8438 kB / 0.788 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4501, allocations: 4.453 kB / 0.788 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4501, allocations: 1.297 kB / 0.788 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.4502, allocations: 177.1 kB / 0.7882 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4502, allocations: 0 / 0.7882 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.4504, allocations: 19.09 kB / 0.7882 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4504, allocations: 0.5625 kB / 0.7882 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.4504, allocations: 4.469 kB / 0.7882 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4504, allocations: 0 / 0.7882 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4504, allocations: 6.938 kB / 0.7882 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.4507, allocations: 146.4 kB / 0.7883 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.4507, allocations: 80.48 kB / 0.7884 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.4507, allocations: 2.031 kB / 0.7884 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4509, allocations: 10.47 kB / 0.7884 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.4509, allocations: 12.73 kB / 0.7884 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.4509, allocations: 2.312 kB / 0.7884 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.008e-05/0.451, allocations: 77.62 kB / 0.7885 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.451, allocations: 0 / 0.7885 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002792/0.4513, allocations: 18.81 kB / 0.7885 GB, free: 47.41 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 (8): * Single equations (assignments): 8 * 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 8.715e-05/0.4514, allocations: 99.81 kB / 0.7886 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.4515, allocations: 64.45 kB / 0.7887 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4516, allocations: 0 / 0.7887 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.4516, allocations: 34.31 kB / 0.7887 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.4519, allocations: 8.656 kB / 0.7887 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.4525, allocations: 169.1 kB / 0.7889 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.484e-05/0.4526, allocations: 0.6798 MB / 0.7896 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.622e-05/0.4527, allocations: 17.52 kB / 0.7896 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.4527, allocations: 10.34 kB / 0.7896 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.4527, allocations: 0 / 0.7896 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.002962/0.4557, allocations: 0.6891 MB / 0.7902 GB, free: 46.52 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)